From 62f32ccadff77594f5b8e3ad24c4c2541ff35885 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 7 Aug 2025 22:19:45 +0200 Subject: PHPStan: finalise strictArrayFilter (#7794) As well as reportPossiblyNonexistentConstantArrayOffset. And disable PHPStan-next from GitHub Action, since the work is completed for now. --- app/Models/UserQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/UserQuery.php') diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index 196d0126e..c78eeccd3 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -124,7 +124,7 @@ class FreshRSS_UserQuery { 'shareOpml' => $this->shareOpml, 'description' => $this->description, 'imageUrl' => $this->imageUrl, - ]); + ], fn($v): bool => $v !== '' && $v !== 0 && $v !== false); } /** -- cgit v1.2.3