aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index 988eedc71..8634b5e71 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -274,7 +274,7 @@ final class FreshRSS_Context {
* @phpstan-return ($asArray is true ? array{'a'|'c'|'f'|'i'|'s'|'t'|'T',bool|int} : string)
* @return string|array{string,bool|int}
*/
- public static function currentGet(bool $asArray = false) {
+ public static function currentGet(bool $asArray = false): string|array {
if (self::$current_get['all']) {
return $asArray ? ['a', true] : 'a';
} elseif (self::$current_get['important']) {