From dfac9f5813df7d4c7c812c381364c8898333f559 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 11 Sep 2024 17:14:53 +0200 Subject: PHPStan booleansInConditions (#6793) * PHPStan booleansInConditions * Uniformisation --- app/Services/ExportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Services/ExportService.php') diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index ba4042d21..37bcdc6e3 100644 --- a/app/Services/ExportService.php +++ b/app/Services/ExportService.php @@ -130,7 +130,7 @@ class FreshRSS_Export_Service { $exported_files = []; foreach ($feed_ids as $feed_id) { $result = $this->generateFeedEntries($feed_id, $max_number_entries); - if (!$result) { + if ($result === null) { continue; } -- cgit v1.2.3