@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Werkspot\MessageQueue\DeliveryQueue; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Werkspot\MessageQueue\DeliveryQueue\Amqp; |
| 6 | 6 | |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | throw new AmqpMessageUnpackingException(self::UNPACKING_EXCEPTION_MSG_UNSERIALIZABLE_CONTENT); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | - if (! $result instanceof MessageInterface) { |
|
| 187 | + if (!$result instanceof MessageInterface) { |
|
| 188 | 188 | throw new AmqpMessageUnpackingException(self::UNPACKING_EXCEPTION_MSG_UNEXPECTED_TYPE); |
| 189 | 189 | } |
| 190 | 190 | |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | |
| 47 | 47 | public function moveMessageBatch(int $batchSize, callable $afterMessageTransfer = null): int |
| 48 | 48 | { |
| 49 | - $afterMessageTransfer = $afterMessageTransfer ?? function () { |
|
| 49 | + $afterMessageTransfer = $afterMessageTransfer ?? function() { |
|
| 50 | 50 | }; |
| 51 | 51 | $messageList = $this->scheduledMessageService->findScheduledMessageList($batchSize); |
| 52 | 52 | |