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/AttributesTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/AttributesTrait.php') 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 $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); } -- cgit v1.2.3