diff options
| author | 2025-08-07 22:19:45 +0200 | |
|---|---|---|
| committer | 2025-08-07 22:19:45 +0200 | |
| commit | 62f32ccadff77594f5b8e3ad24c4c2541ff35885 (patch) | |
| tree | 29689e66fd16fcbeb385cda554890d45d66e58c2 /app/Models/UserQuery.php | |
| parent | 149136fbe252cca4cb8dcdb463df135094bc0f87 (diff) | |
PHPStan: finalise strictArrayFilter (#7794)
As well as reportPossiblyNonexistentConstantArrayOffset.
And disable PHPStan-next from GitHub Action, since the work is completed for now.
Diffstat (limited to 'app/Models/UserQuery.php')
| -rw-r--r-- | app/Models/UserQuery.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |
