Skip to content

Commit

Permalink
Replace assignment with intended comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Condo committed Apr 26, 2024
1 parent 587dede commit d90ebc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/JobErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function handleError($errno, $errstr, $errfile, $errline)
if (error_reporting()) {
// Don't throw E_DEPRECATED in PHP 5.3+
if (defined('E_DEPRECATED')) {
if ($errno == E_DEPRECATED || $errno = E_USER_DEPRECATED) {
if ($errno == E_DEPRECATED || $errno == E_USER_DEPRECATED) {
return;
}
}
Expand Down

0 comments on commit d90ebc1

Please sign in to comment.