Skip to content

Commit

Permalink
Remove E_STRICT from default error levels in set_error_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Oct 9, 2024
1 parent 2dc85c2 commit e0d1af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ function user_error(string $message, int $error_level = E_USER_NOTICE) {}
* );
* ```
*/
function set_error_handler(?callable $callback, int $error_levels = E_ALL|E_STRICT) {}
function set_error_handler(?callable $callback, int $error_levels = E_ALL) {}

/**
* Restores the previous error handler function
Expand Down

0 comments on commit e0d1af1

Please sign in to comment.