diff --git a/system/Router/DefinedRouteCollector.php b/system/Router/DefinedRouteCollector.php index 4fdbbb02597b..b56116ac23ab 100644 --- a/system/Router/DefinedRouteCollector.php +++ b/system/Router/DefinedRouteCollector.php @@ -21,9 +21,9 @@ */ final class DefinedRouteCollector { - private RouteCollection $routeCollection; + private RouteCollectionInterface $routeCollection; - public function __construct(RouteCollection $routes) + public function __construct(RouteCollectionInterface $routes) { $this->routeCollection = $routes; }