Skip to content

Commit

Permalink
Try fix Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Feb 29, 2024
1 parent eebb0a3 commit a52193b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context/WpContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a52193b

Please sign in to comment.