@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | |
217 | 217 | protected function checkStaticRouteInOtherMethods($jump_method, $uri) |
218 | 218 | { |
219 | - return array_filter(array_diff_key(Mapper::getMethods(), [$jump_method => true]), function ($method) use ($uri) { |
|
219 | + return array_filter(array_diff_key(Mapper::getMethods(), [$jump_method => true]), function($method) use ($uri) { |
|
220 | 220 | return (bool) $this->collection->getStaticRoute($method, $uri); |
221 | 221 | }); |
222 | 222 | } |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | |
233 | 233 | protected function checkDynamicRouteInOtherMethods($jump_method, $uri) |
234 | 234 | { |
235 | - return array_filter(array_diff_key(Mapper::getMethods(), [$jump_method => true]), function ($method) use ($uri) { |
|
235 | + return array_filter(array_diff_key(Mapper::getMethods(), [$jump_method => true]), function($method) use ($uri) { |
|
236 | 236 | return (bool) $this->matchDynamicRoute($this->collection->getDynamicRoutes($method, $uri), $uri); |
237 | 237 | }); |
238 | 238 | } |