@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | public function execute(object $command, callable $next) |
| 33 | 33 | { |
| 34 | - if (! $this->ping($this->connection)) { |
|
| 34 | + if ( ! $this->ping($this->connection)) { |
|
| 35 | 35 | $this->connection->close(); |
| 36 | 36 | $this->connection->connect(); |
| 37 | 37 | } |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | |
| 42 | 42 | private function ping(Connection $connection): bool |
| 43 | 43 | { |
| 44 | - set_error_handler(static function (int $severity, string $message, string $file, int $line): bool { |
|
| 44 | + set_error_handler(static function(int $severity, string $message, string $file, int $line): bool { |
|
| 45 | 45 | throw new ErrorException($message, $severity, $severity, $file, $line); |
| 46 | 46 | }); |
| 47 | 47 | |