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 24, 2024
1 parent ba18825 commit de45731
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 (E_DEPRECATED == $errno || E_USER_DEPRECATED == $errno) {
return;
}
}
Expand Down

0 comments on commit de45731

Please sign in to comment.