@@ -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 | } |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | /** |
| 104 | 104 | * Handle command action. |
| 105 | 105 | * |
| 106 | - * @param array $argv |
|
| 106 | + * @param string $argv |
|
| 107 | 107 | * |
| 108 | 108 | * @return bool |
| 109 | 109 | */ |
@@ -331,7 +331,7 @@ |
||
| 331 | 331 | * @param Response $lumenResponse |
| 332 | 332 | * @param string $obContents |
| 333 | 333 | * |
| 334 | - * @return $this |
|
| 334 | + * @return Response |
|
| 335 | 335 | */ |
| 336 | 336 | protected function appendObContents(Response $lumenResponse, $obContents) |
| 337 | 337 | { |