diff options
| author | 2022-01-01 11:26:56 +0100 | |
|---|---|---|
| committer | 2022-01-01 11:26:56 +0100 | |
| commit | 3f6aa42b817145a3b00f4d615f87728b55c4413a (patch) | |
| tree | e5b31941b0acc3a2f4c47e4846afcfe987b9852f /app/Models/Context.php | |
| parent | 77e9877316fcfacb26799afdf32d94c8411da80e (diff) | |
Fix most PHPDocs errors (#4107)
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103
https://phpstan.org/writing-php-code/phpdoc-types
Diffstat (limited to 'app/Models/Context.php')
| -rw-r--r-- | app/Models/Context.php | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |
