From 50adb559823f935582f3ed308b8d4352c5f216ed Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 8 Jan 2025 13:26:09 +0100 Subject: Add some missing PHP native types (#7191) * Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types --- app/Models/Category.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Models/Category.php') diff --git a/app/Models/Category.php b/app/Models/Category.php index feaf7b79c..da902d6bd 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -65,8 +65,7 @@ class FreshRSS_Category extends Minz_Model { return $this->error; } - /** @param bool|int $value */ - public function _error($value): void { + public function _error(bool|int $value): void { $this->error = (bool)$value; } public function isDefault(): bool { -- cgit v1.2.3