@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | { |
84 | 84 | $connection = $this->getConnection(); |
85 | 85 | |
86 | - $toSend = $command->getName()."\0".$command->getRequest()."\0"; |
|
86 | + $toSend = $command->getName() . "\0" . $command->getRequest() . "\0"; |
|
87 | 87 | $sent = $this->box('doSend', false, [$connection, $toSend]); |
88 | 88 | |
89 | 89 | if (false === $sent) { |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | |
226 | 226 | // Timeout |
227 | 227 | if (0 === $modified) { |
228 | - throw new TimeoutException('Timeout reached when trying to read stream ('.$this->timeout.'ms)'); |
|
228 | + throw new TimeoutException('Timeout reached when trying to read stream (' . $this->timeout . 'ms)'); |
|
229 | 229 | } |
230 | 230 | |
231 | 231 | // Error |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | |
246 | 246 | private function box($method, $defaultReturnValue = null, array $args = []) |
247 | 247 | { |
248 | - set_error_handler(__CLASS__.'::handleInternalError'); |
|
248 | + set_error_handler(__CLASS__ . '::handleInternalError'); |
|
249 | 249 | |
250 | 250 | try { |
251 | 251 | $returnValue = \call_user_func_array([$this, $method], $args); |