@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic\Get; |
5 | 5 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic\Consumer; |
5 | 5 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * {@inheritdoc} |
30 | 30 | */ |
31 | - public function foreach(callable $consume): void |
|
31 | + public function foreach (callable $consume): void |
|
32 | 32 | { |
33 | 33 | $this->consumer->foreach(function(Message $message, ...$args) use ($consume): void { |
34 | 34 | try { |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic\Consumer; |
5 | 5 | |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | /** |
11 | 11 | * {@inheritdoc} |
12 | 12 | */ |
13 | - public function foreach(callable $consume): void |
|
13 | + public function foreach (callable $consume): void |
|
14 | 14 | { |
15 | 15 | //pass |
16 | 16 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic\Consumer; |
5 | 5 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * {@inheritdoc} |
52 | 52 | */ |
53 | - public function foreach(callable $consume): void |
|
53 | + public function foreach (callable $consume): void |
|
54 | 54 | { |
55 | 55 | if ($this->canceled) { |
56 | 56 | return; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Basic; |
5 | 5 | |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * - string $exchange |
14 | 14 | * - string $routingKey |
15 | 15 | */ |
16 | - public function foreach(callable $consume): void; |
|
16 | + public function foreach (callable $consume): void; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Number of messages to process |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Exchange; |
5 | 5 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | $this->channel = $channel; |
23 | 23 | } |
24 | 24 | |
25 | - public function declare(Declaration $command): ExchangeInterface |
|
25 | + public function declare(Declaration$command): ExchangeInterface |
|
26 | 26 | { |
27 | 27 | $this->connection->send( |
28 | 28 | $this->connection->protocol()->exchange()->declare( |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel\Exchange; |
5 | 5 | |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | final class NullExchange implements ExchangeInterface |
13 | 13 | { |
14 | - public function declare(Declaration $command): ExchangeInterface |
|
14 | + public function declare(Declaration$command): ExchangeInterface |
|
15 | 15 | { |
16 | 16 | return $this; |
17 | 17 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Innmind\AMQP\Client\Channel; |
5 | 5 | |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * @return DeclareOk|null null if not waiting for response |
21 | 21 | */ |
22 | - public function declare(Declaration $command): ?DeclareOk; |
|
22 | + public function declare(Declaration$command): ?DeclareOk; |
|
23 | 23 | public function delete(Deletion $command): ?DeleteOk; |
24 | 24 | public function bind(Binding $command): self; |
25 | 25 | public function unbind(Unbinding $command): self; |