aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Category.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-08 13:26:09 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-08 13:26:09 +0100
commit50adb559823f935582f3ed308b8d4352c5f216ed (patch)
tree74f09efadfcaf28f82505e791e267596f4026053 /app/Models/Category.php
parentfa701b39f3775ac4250a82fabcec8970b446789b (diff)
Add some missing PHP native types (#7191)
* Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types
Diffstat (limited to 'app/Models/Category.php')
-rw-r--r--app/Models/Category.php3
1 files changed, 1 insertions, 2 deletions
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 {