From cef919692e770a45b445e5ae9c1ec6de3a124156 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 5 Apr 2022 20:04:48 +0200 Subject: [PATCH] static code analysis fixes --- Controller/SearchController.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Controller/SearchController.php b/Controller/SearchController.php index b8cea4c..b6c1a67 100755 --- a/Controller/SearchController.php +++ b/Controller/SearchController.php @@ -72,7 +72,7 @@ final class SearchController extends Controller } $name = \mb_strtolower($this->app->l11nManager->getText( - $response->getLanguage() ?? 'en', + $response->getLanguage(), 'Navigation', '0', $element->name, )); diff --git a/composer.json b/composer.json index b90cb5e..10044a1 100755 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "friendsofphp/php-cs-fixer": ">=3.2", "squizlabs/php_codesniffer": ">=3.6", "phpmd/phpmd": ">=2.9", - "phpstan/phpstan": ">=0.12.58", + "phpstan/phpstan": ">=1.5.4", "phan/phan": ">=3.2.6" }, "minimum-stability": "dev",