Skip to content

Commit

Permalink
fix(amqp) add attribute type (#6904)
Browse files Browse the repository at this point in the history
  • Loading branch information
srkj2018 authored Jun 24, 2024
1 parent 0fdf1c2 commit c96e294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Message/DynamicRpcMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class DynamicRpcMessage extends RpcMessage
{
public function __construct(string $exchange, string $routingKey, $data)
public function __construct(string $exchange, string $routingKey, mixed $data)
{
$this->exchange = $exchange;
$this->routingKey = $routingKey;
Expand Down
5 changes: 1 addition & 4 deletions src/Message/RpcMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ abstract class RpcMessage extends Message implements RpcMessageInterface
{
protected string $queue = '';

/**
* @var mixed
*/
protected $payload;
protected mixed $payload;

public function getQueueBuilder(): QueueBuilder
{
Expand Down

0 comments on commit c96e294

Please sign in to comment.