@@ -267,8 +267,7 @@ discard block |
||
| 267 | 267 | try |
| 268 | 268 | { |
| 269 | 269 | $router->match($request); |
| 270 | - } |
|
| 271 | - catch (MethodNotAllowedException $e) |
|
| 270 | + } catch (MethodNotAllowedException $e) |
|
| 272 | 271 | { |
| 273 | 272 | $allowedMethods[] = RequestMethodInterface::METHOD_HEAD; |
| 274 | 273 | $allowedMethods[] = RequestMethodInterface::METHOD_GET; |
@@ -276,8 +275,7 @@ discard block |
||
| 276 | 275 | $this->assertEquals($allowedMethods, $e->getAllowedMethods()); |
| 277 | 276 | |
| 278 | 277 | throw $e; |
| 279 | - } |
|
| 280 | - catch (\Throwable $e) |
|
| 278 | + } catch (\Throwable $e) |
|
| 281 | 279 | { |
| 282 | 280 | throw $e; |
| 283 | 281 | } |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | } |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | - if (! empty($allow)) |
|
| 206 | + if (!empty($allow)) |
|
| 207 | 207 | { |
| 208 | 208 | throw new MethodNotAllowedException($request, $allow); |
| 209 | 209 | } |