Skip to content

Commit 8cf9443

Browse files
westonruterapermo
andcommitted
Fix phpstan-return syntax
Co-authored-by: Christoph Daum <christoph.daum@coding-pioneers.com>
1 parent 0b5d819 commit 8cf9443

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/functions.php

Lines changed: 1 addition & 1 deletion
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;

0 commit comments

Comments
 (0)