diff --git a/src/Context/WpContext.php b/src/Context/WpContext.php index 780ba6f..89d57d1 100644 --- a/src/Context/WpContext.php +++ b/src/Context/WpContext.php @@ -152,7 +152,7 @@ protected static function normalizeManifestPath(?string $path): ?string */ protected static function globalDebug(): bool { - /** @psalm-suppress TypeDoesNotContainType */ + /** @psalm-suppress RedundantCast, TypeDoesNotContainType */ return defined('SCRIPT_DEBUG') ? (bool) \SCRIPT_DEBUG : (defined('WP_DEBUG') && \WP_DEBUG); }