Various phpstan fixes [skip ci]

This commit is contained in:
James Cole
2025-01-04 08:42:06 +01:00
parent d4942efd8e
commit c43b37baef
34 changed files with 43 additions and 1229 deletions

View File

@@ -433,7 +433,7 @@ class Navigation
*/
public function getViewRange(bool $correct): string
{
$range = app('preferences')->get('viewRange', '1M')?->data ?? '1M';
$range = app('preferences')->get('viewRange', '1M')->data ?? '1M';
if (is_array($range)) {
$range = '1M';
}