@@ -462,7 +462,7 @@ protected function handleRequest(?RouteCollectionInterface $routes, Cache $cache
462462 $ uri = $ this ->request ->getPath ();
463463
464464 if ($ this ->enableFilters ) {
465- $ filters = Services:: filters ( );
465+ $ filters = service ( ' filters ' );
466466
467467 // If any filters were specified within the routes file,
468468 // we need to ensure it's active for the current request
@@ -518,7 +518,7 @@ protected function handleRequest(?RouteCollectionInterface $routes, Cache $cache
518518 $ this ->gatherOutput ($ cacheConfig , $ returned );
519519
520520 if ($ this ->enableFilters ) {
521- $ filters = Services:: filters ( );
521+ $ filters = service ( ' filters ' );
522522 $ filters ->setResponse ($ this ->response );
523523
524524 // Run "after" filters
@@ -649,7 +649,7 @@ protected function getRequestObject()
649649 Services::createRequest ($ this ->config );
650650 }
651651
652- $ this ->request = Services:: request ( );
652+ $ this ->request = service ( ' request ' );
653653
654654 $ this ->spoofRequestMethod ();
655655 }
@@ -817,7 +817,7 @@ protected function tryToRouteIt(?RouteCollectionInterface $routes = null)
817817 $ this ->benchmark ->start ('routing ' );
818818
819819 if ($ routes === null ) {
820- $ routes = Services:: routes ( )->loadRoutes ();
820+ $ routes = service ( ' routes ' )->loadRoutes ();
821821 }
822822
823823 // $routes is defined in Config/Routes.php
0 commit comments