@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Puzzle\AMQP\ValueObjects; |
6 | 6 |
@@ -129,7 +129,7 @@ |
||
129 | 129 | $message = $this->httpClient->getMessages($this->vhost, $queueName, $firstMessageOptions)[0]; |
130 | 130 | |
131 | 131 | \PHPUnit\Framework\Assert::assertSame($routingKey, $message['routing_key']); |
132 | - \PHPUnit\Framework\Assert::assertSame($contentType, $message['properties']['content_type']); |
|
132 | + \PHPUnit\Framework\Assert::assertSame($contentType, $message['properties']['content_type']); |
|
133 | 133 | |
134 | 134 | if($content !== false) |
135 | 135 | { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Puzzle\AMQP\Workers; |
6 | 6 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public static function build($routingKey, Body $body = null, array $additionalHeaders = [], array $additionalAttributes = []) |
14 | 14 | { |
15 | - if(! $body instanceof Body) |
|
15 | + if( ! $body instanceof Body) |
|
16 | 16 | { |
17 | 17 | $body = new EmptyBody(); |
18 | 18 | } |