@@ -12,7 +12,7 @@ |
||
| 12 | 12 | private $redis; |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param Redis $redis |
|
| 15 | + * @param \PHPUnit_Framework_MockObject_MockObject $redis |
|
| 16 | 16 | */ |
| 17 | 17 | public function __construct(Redis $redis) |
| 18 | 18 | { |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | { |
| 70 | 70 | $packet = $this->driver->pop($queue); |
| 71 | 71 | if (empty($packet)) { |
| 72 | - return true; |
|
| 72 | + return true; |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | $message = $this->serializer->deserialize($packet); |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | public function finish(Message $message) |
| 48 | 48 | { |
| 49 | 49 | array_map(function ($name) use ($message) { |
| 50 | - $this->emitter->emit($name, $message) ; |
|
| 50 | + $this->emitter->emit($name, $message) ; |
|
| 51 | 51 | }, [ |
| 52 | 52 | static::MESSAGE_FINISH, |
| 53 | 53 | sprintf('%s.%s', static::MESSAGE_FINISH, $message->handler()) |