Skip to content

Commit

Permalink
Merge pull request #422 from oddnoc/assignment-bug
Browse files Browse the repository at this point in the history
Replace assignment with intended comparison
  • Loading branch information
GuySartorelli authored Apr 26, 2024
2 parents 587dede + d90ebc1 commit 50670e8
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 50670e8

Please sign in to comment.