Skip to content

Commit

Permalink
Correct spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed Jan 27, 2020
1 parent 0789ff2 commit 9f09e17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ function bootstrap() {
register_shutdown_function( __NAMESPACE__ . '\\on_shutdown' );
}

$current_errror_handler = set_error_handler( function () use ( &$current_errror_handler ) { // @codingStandardsIgnoreLine
$current_error_handler = set_error_handler( function () use ( &$current_error_handler ) { // @codingStandardsIgnoreLine
call_user_func_array( __NAMESPACE__ . '\\error_handler', func_get_args() );
if ( $current_errror_handler ) {
call_user_func_array( $current_errror_handler, func_get_args() );
if ( $current_error_handler ) {
call_user_func_array( $current_error_handler, func_get_args() );
}
});

Expand Down

0 comments on commit 9f09e17

Please sign in to comment.