File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ parameters:
1919
2020 ignoreErrors:
2121 # Level 0:
22- - # Inner functions arent supported by PHPstan .
22+ - # Inner functions aren't supported by PHPStan .
2323 message: '#Function wxr_[a-z_]+ not found#'
2424 path: src/wp-admin/includes/export.php
2525 -
Original file line number Diff line number Diff line change @@ -3765,6 +3765,10 @@ function wp_nonce_ays( $action ) {
37653765 * is a WP_Error.
37663766 * @type bool $exit Whether to exit the process after completion. Default true.
37673767 * }
3768+ *
3769+ * @return never|void Returns false if `$args['exit']` is false, otherwise exists.
3770+ *
3771+ * @phpstan-return ($args['exit'] is false ? void : never)
37683772 */
37693773function wp_die ( $ message = '' , $ title = '' , $ args = array () ) {
37703774 global $ wp_query ;
You can’t perform that action at this time.
0 commit comments