diff options
| author | 2025-01-08 13:26:09 +0100 | |
|---|---|---|
| committer | 2025-01-08 13:26:09 +0100 | |
| commit | 50adb559823f935582f3ed308b8d4352c5f216ed (patch) | |
| tree | 74f09efadfcaf28f82505e791e267596f4026053 /app/Models/AttributesTrait.php | |
| parent | fa701b39f3775ac4250a82fabcec8970b446789b (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/AttributesTrait.php')
| -rw-r--r-- | app/Models/AttributesTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/AttributesTrait.php b/app/Models/AttributesTrait.php index f30b11b5d..05fcb3c1b 100644 --- a/app/Models/AttributesTrait.php +++ b/app/Models/AttributesTrait.php @@ -48,7 +48,7 @@ trait FreshRSS_AttributesTrait { } /** @param string|array<string,mixed> $values Values, not HTML-encoded */ - public function _attributes($values): void { + public function _attributes(string|array $values): void { if (is_string($values)) { $values = json_decode($values, true); } |
