@@ -227,7 +227,7 @@ |
||
| 227 | 227 | } |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | - uasort($annotations, function ($a, $b) { |
|
| 230 | + uasort($annotations, function($a, $b) { |
|
| 231 | 231 | return $b->priority <=> $a->priority; |
| 232 | 232 | }); |
| 233 | 233 | |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | ); |
| 87 | 87 | |
| 88 | 88 | foreach ($this->resources as $resource) { |
| 89 | - (function () use ($resource) { |
|
| 89 | + (function() use ($resource) { |
|
| 90 | 90 | require $resource; |
| 91 | 91 | })->call($collect); |
| 92 | 92 | } |
@@ -244,7 +244,7 @@ |
||
| 244 | 244 | { |
| 245 | 245 | try { |
| 246 | 246 | return $this->handle($request); |
| 247 | - } catch (MethodNotAllowedException|RouteNotFoundException $e) { |
|
| 247 | + } catch (MethodNotAllowedException | RouteNotFoundException $e) { |
|
| 248 | 248 | return $handler->handle( |
| 249 | 249 | $request->withAttribute(self::ATTR_NAME_FOR_ROUTING_ERROR, $e) |
| 250 | 250 | ); |