Skip to content

Commit 3206f60

Browse files
committed
Remove now-unnecessary phpstan-ignore
1 parent 0b5d819 commit 3206f60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/
37713771
function 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
/**

0 commit comments

Comments
 (0)