Skip to content

Commit

Permalink
Update DeprecationErrorHandler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caciobanu authored Jan 3, 2025
1 parent 0eab2cc commit 1eb486a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Error/Handler/DeprecationErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function register(Call $call, $level, $message)
$trace = debug_backtrace();

$group = 'remaining';
if (E_USER_DEPRECATED !== (error_reporting() & E_USER_DEPRECATED)) {
if (E_USER_DEPRECATED === (error_reporting() & E_USER_DEPRECATED)) {
$group = 'unsilenced';
}

Expand Down

0 comments on commit 1eb486a

Please sign in to comment.