From d90ebc1a06e46006113ee92d566a5f91e3202a3e Mon Sep 17 00:00:00 2001 From: Fred Condo Date: Wed, 24 Apr 2024 12:46:46 -0700 Subject: [PATCH] Replace assignment with intended comparison --- src/Services/JobErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/JobErrorHandler.php b/src/Services/JobErrorHandler.php index 3a57dd87..9559ef7a 100644 --- a/src/Services/JobErrorHandler.php +++ b/src/Services/JobErrorHandler.php @@ -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; } }