Skip to content

Commit f946f18

Browse files
committed
PHPStan fix
1 parent e94788f commit f946f18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Core_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,7 @@ private function require_upgrade_file( $context = 'WordPress operation' ) {
16901690
// Register a shutdown function to catch fatal errors during require_once.
16911691
$shutdown_handler = function () use ( $context, &$require_completed ) {
16921692
// Only handle errors if require_once did not complete successfully.
1693+
// @phpstan-ignore-next-line
16931694
if ( $require_completed ) {
16941695
return;
16951696
}

0 commit comments

Comments
 (0)