mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various phpstan fixes [skip ci]
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user