@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | public function handleArguments() |
| 69 | 69 | { |
| 70 | - $serverOptions = array_map(function ($option) { |
|
| 70 | + $serverOptions = array_map(function($option) { |
|
| 71 | 71 | return "$option:"; |
| 72 | 72 | }, Server::$validServerOptions); |
| 73 | 73 | |
@@ -213,17 +213,17 @@ discard block |
||
| 213 | 213 | { |
| 214 | 214 | error_reporting(-1); |
| 215 | 215 | |
| 216 | - set_error_handler(function ($level, $message, $file = '', $line = 0) { |
|
| 216 | + set_error_handler(function($level, $message, $file = '', $line = 0) { |
|
| 217 | 217 | if (error_reporting() & $level) { |
| 218 | 218 | throw new ErrorException($message, 0, $level, $file, $line); |
| 219 | 219 | } |
| 220 | 220 | }); |
| 221 | 221 | |
| 222 | - set_exception_handler(function ($e) { |
|
| 222 | + set_exception_handler(function($e) { |
|
| 223 | 223 | $this->handleUncaughtException($e); |
| 224 | 224 | }); |
| 225 | 225 | |
| 226 | - register_shutdown_function(function () { |
|
| 226 | + register_shutdown_function(function() { |
|
| 227 | 227 | $this->handleShutdown(); |
| 228 | 228 | }); |
| 229 | 229 | } |