diff options
| author | wn_ <invalid@email.com> | 2024-11-12 03:38:45 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-11-12 03:38:45 +0000 |
| commit | dca2ae60a1c7a7951ee769aefeb19c4576c57aa6 (patch) | |
| tree | 613b5affdfa45bf9fa540d40cf88ddff9fb9bb54 /classes/Debug.php | |
| parent | a784305cc764a7e039ad87074f541db68a653a5a (diff) | |
Remove some PHPStan ignores and make others rule-specific.
Diffstat (limited to 'classes/Debug.php')
| -rw-r--r-- | classes/Debug.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Debug.php b/classes/Debug.php index 1cda12539..ba39b4d44 100644 --- a/classes/Debug.php +++ b/classes/Debug.php @@ -77,7 +77,7 @@ class Debug { */ public static function map_loglevel(int $level) : int { if (in_array($level, self::ALL_LOG_LEVELS)) { - /** @phpstan-ignore-next-line */ + /** @phpstan-ignore return.type (yes it is a Debug::LOG_* value) */ return $level; } else { user_error("Passed invalid debug log level: $level", E_USER_WARNING); |