File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3766,7 +3766,7 @@ function wp_nonce_ays( $action ) {
37663766 * }
37673767 * @return never|void Returns void if `$args['exit']` is false, otherwise exits.
37683768 *
3769- * @phpstan-return ( $args['exit'] is false ? void : never )
3769+ * @phpstan-return ( $args is array{exit: false} ? void : never )
37703770 */
37713771function wp_die ( $ message = '' , $ title = '' , $ args = array () ) {
37723772 global $ wp_query ;
@@ -5521,7 +5521,7 @@ function dead_db() {
55215521 }
55225522
55235523 // Otherwise, be terse.
5524- wp_die ( '<h1> ' . __ ( 'Error establishing a database connection ' ) . '</h1> ' , __ ( 'Database Error ' ) ); // @phpstan-ignore return.never (wp_die() always exits by default.)
5524+ wp_die ( '<h1> ' . __ ( 'Error establishing a database connection ' ) . '</h1> ' , __ ( 'Database Error ' ) );
55255525}
55265526
55275527/**
You can’t perform that action at this time.
0 commit comments