mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 05:58:40 -04:00
1 parent
bf0bedae1c
commit
f436b43c82
2 files changed
+11
-3
No files matched your search
@@ -73,7 +73,11 @@ class FreshRSS_Category extends Minz_Model {
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
public function _error(bool|int $value): void {
|
||||
/**
|
||||
* @param bool|int|numeric-string $value
|
||||
* 32-bit systems provide a string and will fail in year 2038
|
||||
*/
|
||||
public function _error(bool|int|string $value): void {
|
||||
$this->error = (bool)$value;
|
||||
}
|
||||
public function isDefault(): bool {
|
||||
|
||||
+6
-2
@@ -564,8 +564,12 @@ class FreshRSS_Feed extends Minz_Model {
|
||||
$this->httpAuth = $value;
|
||||
}
|
||||
|
||||
public function _error(int $value): void {
|
||||
$this->error = $value;
|
||||
/**
|
||||
* @param int|numeric-string $value
|
||||
* 32-bit systems provide a string and will fail in year 2038
|
||||
*/
|
||||
public function _error(int|string $value): void {
|
||||
$this->error = (int)$value;
|
||||
}
|
||||
public function _mute(bool $value): void {
|
||||
$this->mute = $value;
|
||||
|
||||
Reference in new issue
Block a user