@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | { |
100 | 100 | $connection = $this->getConnection(); |
101 | 101 | |
102 | - $content = $command.' '.json_encode($context, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)."\n"; |
|
102 | + $content = $command . ' ' . json_encode($context, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . "\n"; |
|
103 | 103 | $sent = $this->box('doSend', false, [$connection, $content]); |
104 | 104 | |
105 | 105 | // if the pipe is broken, `fwrite` will throw a Notice |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | |
204 | 204 | private function box($method, $defaultReturnValue = null, array $args = []) |
205 | 205 | { |
206 | - set_error_handler(__CLASS__.'::handleInternalError'); |
|
206 | + set_error_handler(__CLASS__ . '::handleInternalError'); |
|
207 | 207 | |
208 | 208 | try { |
209 | 209 | $returnValue = call_user_func_array([$this, $method], $args); |