@@ -41,12 +41,12 @@ |
||
41 | 41 | 'max_execution_time' => self::DEFAULT_MAX_EXECUTION_TIME, |
42 | 42 | ]; |
43 | 43 | |
44 | - if(!empty($this->retries)) |
|
44 | + if( ! empty($this->retries)) |
|
45 | 45 | { |
46 | 46 | $options['instant_retry_attempts'] = $this->retries; |
47 | 47 | } |
48 | 48 | |
49 | - if(!empty($this->delay)) |
|
49 | + if( ! empty($this->delay)) |
|
50 | 50 | { |
51 | 51 | $options['instant_retry_delay'] = $this->delay * 1000000; //computed in microseconds |
52 | 52 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | 'retry_key_pattern' => sprintf(self::RETRY_ROUTING_KEY_PATTERN, $queue), |
52 | 52 | ]; |
53 | 53 | |
54 | - if(! empty($this->retries)) |
|
54 | + if( ! empty($this->retries)) |
|
55 | 55 | { |
56 | 56 | $options['retry_attempts'] = $this->retries; |
57 | 57 | } |
@@ -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 |