static code analysis fixes

This commit is contained in:
Dennis Eichhorn 2022-04-05 20:04:48 +02:00
parent e43411b84e
commit cef919692e
2 changed files with 2 additions and 2 deletions

View File

@ -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,
));

View File

@ -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",