PHPCS: Fix WPCS violations in [45023].

See #46620.

git-svn-id: https://develop.svn.wordpress.org/trunk@45025 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-03-27 00:35:34 +00:00
parent a630f23731
commit c454b24d92
1 changed files with 7 additions and 3 deletions

View File

@ -185,9 +185,13 @@ class WP_Fatal_Error_Handler {
*/
$args = apply_filters( 'wp_php_error_args', $args, $error );
$wp_error = new WP_Error( 'internal_server_error', $message, array(
'error' => $error,
) );
$wp_error = new WP_Error(
'internal_server_error',
$message,
array(
'error' => $error,
)
);
wp_die( $wp_error, '', $args );
}