@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | 'payloadtest' => [ |
| 15 | 15 | 'method' => 'GET', |
| 16 | - 'pattern' => '/payload/[{id:\d+}]', // [] = optional |
|
| 16 | + 'pattern' => '/payload/[{id:\d+}]', // [] = optional |
|
| 17 | 17 | 'handler' => 'App\Action\HomeActionPayload' |
| 18 | 18 | ], |
| 19 | 19 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | $output |
| 6 | 6 | ); |
| 7 | 7 | |
| 8 | - if (! empty($output)) { |
|
| 8 | + if (!empty($output)) { |
|
| 9 | 9 | $process = trim(array_shift($output)); |
| 10 | 10 | preg_match('/(\d+)$/', $process, $matches); |
| 11 | 11 | $cmd = 'kill ' . (int) $matches[1]; |
@@ -91,7 +91,6 @@ |
||
| 91 | 91 | /** |
| 92 | 92 | * Analyzes the request using the router and calls corresponding action. |
| 93 | 93 | * Throws HTTP exceptions in case request could not be assigned to an action. |
| 94 | - |
|
| 95 | 94 | * @throws BadRequestException |
| 96 | 95 | * @throws MethodNotAllowedException |
| 97 | 96 | * @throws NotFoundException |