diff --git a/src/ChainRouter.php b/src/ChainRouter.php index 2edc8a42..6cd14b48 100644 --- a/src/ChainRouter.php +++ b/src/ChainRouter.php @@ -47,7 +47,7 @@ class ChainRouter implements ChainRouterInterface, WarmableInterface /** * @var RouterInterface[] Array of routers, sorted by priority */ - private $sortedRouters; + private $sortedRouters = []; /** * @var RouteCollection