diff options
Diffstat (limited to 'app/Utils/dotpathUtil.php')
| -rw-r--r-- | app/Utils/dotpathUtil.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Utils/dotpathUtil.php b/app/Utils/dotpathUtil.php index aaeb82daa..299b1dcc4 100644 --- a/app/Utils/dotpathUtil.php +++ b/app/Utils/dotpathUtil.php @@ -63,7 +63,7 @@ final class FreshRSS_dotpath_Util * @param mixed $value * @return bool */ - private static function accessible(mixed $value): bool { + private static function accessible($value): bool { return is_array($value) || $value instanceof \ArrayAccess; } @@ -84,7 +84,8 @@ final class FreshRSS_dotpath_Util return false; } - private static function value(mixed $value): mixed { + /** @param mixed $value */ + private static function value($value): mixed { return $value instanceof Closure ? $value() : $value; } |
