@@ -120,7 +120,7 @@ |
||
120 | 120 | throw new ConsumerNotProperlyConfigured('Worker is not defined.'); |
121 | 121 | } |
122 | 122 | |
123 | - $wrapper = function (AMQPMessage $message) { |
|
123 | + $wrapper = function(AMQPMessage $message) { |
|
124 | 124 | $result = call_user_func($this->worker, $message->getBody()); |
125 | 125 | |
126 | 126 | if ($result && $this->producer) { |
@@ -51,8 +51,8 @@ |
||
51 | 51 | { |
52 | 52 | $this->connection = $connection; |
53 | 53 | |
54 | - $this->withFormatter(function ($message) { |
|
55 | - return (string)$message; |
|
54 | + $this->withFormatter(function($message) { |
|
55 | + return (string) $message; |
|
56 | 56 | }); |
57 | 57 | } |
58 | 58 |