Skip to content

Commit 03b4080

Browse files
committed
tests: remove unnecessary @PHPStan-Ignore
1 parent 88c5426 commit 03b4080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ static function ( int $level, string $message, ?string $file = null, ?int $line
976976
}
977977

978978
// Display a caught exception as an error since it prevents any of the output buffer filters from applying.
979-
if ( $did_just_catch ) { // @phpstan-ignore if.alwaysFalse (The variable is set in the catch block below.)
979+
if ( $did_just_catch ) {
980980
$level = E_USER_ERROR;
981981
}
982982

0 commit comments

Comments
 (0)