From c72914bba2363e436574204b3d6093a6f3cfce89 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 28 Apr 2023 14:01:11 +0200 Subject: PHPStan Level 7 for more DAO PDO (#5328) * PHPStan Level 7 for more DAO PDO With new function to address common type and check problems * A bit more * PHPStan Level 7 for FreshRSS_Entry --- cli/user-info.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli') diff --git a/cli/user-info.php b/cli/user-info.php index 6365ef6a4..d8b498cc3 100755 --- a/cli/user-info.php +++ b/cli/user-info.php @@ -66,7 +66,7 @@ foreach ($users as $username) { if ($nbFavorites === false) { $nbFavorites = [ - 'all' => 0, + 'all' => -1, ]; } @@ -74,8 +74,8 @@ foreach ($users as $username) { if ($nbEntries === false) { $nbEntries = [ - 'read' => 0, - 'unread' => 0, + 'read' => -1, + 'unread' => -1, ]; } -- cgit v1.2.3