diff --git a/system/Router/DefinedRouteCollector.php b/system/Router/DefinedRouteCollector.php index 8d4f1dc5b1b7..4c9c853272ae 100644 --- a/system/Router/DefinedRouteCollector.php +++ b/system/Router/DefinedRouteCollector.php @@ -23,7 +23,7 @@ */ final class DefinedRouteCollector { - public function __construct(private readonly RouteCollection $routeCollection) + public function __construct(private readonly RouteCollectionInterface $routeCollection) { }