From 3f6aa42b817145a3b00f4d615f87728b55c4413a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 1 Jan 2022 11:26:56 +0100 Subject: Fix most PHPDocs errors (#4107) Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types --- app/Models/Context.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Models/Context.php') diff --git a/app/Models/Context.php b/app/Models/Context.php index 14bca866c..6b2043bd3 100644 --- a/app/Models/Context.php +++ b/app/Models/Context.php @@ -125,6 +125,7 @@ class FreshRSS_Context { /** * Returns if the current state includes $state parameter. + * @param int $state */ public static function isStateEnabled($state) { return self::$state & $state; @@ -132,6 +133,7 @@ class FreshRSS_Context { /** * Returns the current state with or without $state parameter. + * @param int $state */ public static function getRevertState($state) { if (self::$state & $state) { -- cgit v1.2.3