diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2023-02-01 20:36:09 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2023-02-01 20:36:09 +0000 |
| commit | c5c278def08191092c1cb79a5b5922b88b55e1a5 (patch) | |
| tree | 057ac0102bb1144a33df3d074b1cb881e3a15342 /phpstan-baseline.neon | |
| parent | 5ff104ad1f710e43f8d5be6b54e8424721491c8f (diff) | |
| download | webtrees-c5c278def08191092c1cb79a5b5922b88b55e1a5.tar.gz webtrees-c5c278def08191092c1cb79a5b5922b88b55e1a5.tar.bz2 webtrees-c5c278def08191092c1cb79a5b5922b88b55e1a5.zip | |
Simplify access to current language. See #4713
Diffstat (limited to 'phpstan-baseline.neon')
| -rw-r--r-- | phpstan-baseline.neon | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f2853a73dc..90d6b159d9 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -2021,11 +2021,6 @@ parameters: path: app/Module/RelationshipsChartModule.php - - message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<string,Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface\\>\\:\\:first\\(\\) expects \\(callable\\(Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface, string\\)\\: bool\\)\\|null, Closure\\(Fisharebest\\\\Webtrees\\\\Module\\\\ModuleLanguageInterface\\)\\: bool given\\.$#" - count: 1 - path: app/Module/RelationshipsChartModule.php - - - message: "#^Parameter \\#1 \\$content of function response expects array\\|object\\|string, string\\|false given\\.$#" count: 1 path: app/Module/RelationshipsChartModule.php @@ -2036,11 +2031,6 @@ parameters: path: app/Module/RelationshipsChartModule.php - - message: "#^Parameter \\#2 \\$language of method Fisharebest\\\\Webtrees\\\\Services\\\\RelationshipService\\:\\:nameFromPath\\(\\) expects Fisharebest\\\\Webtrees\\\\Module\\\\ModuleLanguageInterface, Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface\\|null given\\.$#" - count: 1 - path: app/Module/RelationshipsChartModule.php - - - message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<string,Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface\\>\\:\\:map\\(\\) expects callable\\(Fisharebest\\\\Webtrees\\\\Module\\\\ModuleInterface, string\\)\\: Fisharebest\\\\Webtrees\\\\Menu, Closure\\(Fisharebest\\\\Webtrees\\\\Module\\\\ModuleReportInterface\\)\\: Fisharebest\\\\Webtrees\\\\Menu given\\.$#" count: 1 path: app/Module/ReportsMenuModule.php |
