diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index abdf8ff..ffaf424 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/bin/clear-config-cache.php b/bin/clear-config-cache.php index bc0cdc9..46aef2d 100644 --- a/bin/clear-config-cache.php +++ b/bin/clear-config-cache.php @@ -1,4 +1,5 @@ router = $router; diff --git a/src/App/Handler/LabelHandler.php b/src/App/Handler/LabelHandler.php index e0bec98..4e04ac6 100644 --- a/src/App/Handler/LabelHandler.php +++ b/src/App/Handler/LabelHandler.php @@ -24,7 +24,7 @@ class LabelHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/LayerHandler.php b/src/App/Handler/LayerHandler.php index 6c263ff..87a4532 100644 --- a/src/App/Handler/LayerHandler.php +++ b/src/App/Handler/LayerHandler.php @@ -24,7 +24,7 @@ class LayerHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/MapFileHandler.php b/src/App/Handler/MapFileHandler.php index b50cd55..317d523 100644 --- a/src/App/Handler/MapFileHandler.php +++ b/src/App/Handler/MapFileHandler.php @@ -22,7 +22,7 @@ class MapFileHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/MapHandler.php b/src/App/Handler/MapHandler.php index b15963f..791c57c 100644 --- a/src/App/Handler/MapHandler.php +++ b/src/App/Handler/MapHandler.php @@ -23,7 +23,7 @@ class MapHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/OpenHandler.php b/src/App/Handler/OpenHandler.php index 39cd2c4..7bfd2f5 100644 --- a/src/App/Handler/OpenHandler.php +++ b/src/App/Handler/OpenHandler.php @@ -25,7 +25,7 @@ class OpenHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router; diff --git a/src/App/Handler/StyleHandler.php b/src/App/Handler/StyleHandler.php index 0681c91..9fa944d 100644 --- a/src/App/Handler/StyleHandler.php +++ b/src/App/Handler/StyleHandler.php @@ -24,7 +24,7 @@ class StyleHandler implements RequestHandlerInterface public function __construct( Router\RouterInterface $router, - Template\TemplateRendererInterface $template = null, + ?Template\TemplateRendererInterface $template = null, string $containerName ) { $this->router = $router;