@@ -55,14 +55,14 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @throws ReaderException |
| 57 | 57 | */ |
| 58 | - public function read(callable $callback, $timeout=0) |
|
| 58 | + public function read(callable $callback, $timeout = 0) |
|
| 59 | 59 | { |
| 60 | 60 | $this->initialize(); |
| 61 | 61 | $this->messageHandler->setCallback($callback); |
| 62 | 62 | |
| 63 | 63 | try { |
| 64 | 64 | $this->consume($timeout); |
| 65 | - } catch(\Exception $e) { |
|
| 65 | + } catch (\Exception $e) { |
|
| 66 | 66 | throw new ReaderException("Error occurred while reading", 0, $e); |
| 67 | 67 | } |
| 68 | 68 | } |