[ErrorHandler] Return false directly and remove unused variable
This commit is contained in:
parent
f71d8cfabb
commit
3933957d1a
@ -419,9 +419,8 @@ class ErrorHandler
|
||||
}
|
||||
|
||||
if (!$type || (!$log && !$throw)) {
|
||||
return !$silenced && $type && $log;
|
||||
return false;
|
||||
}
|
||||
$scope = $this->scopedErrors & $type;
|
||||
|
||||
if (false !== strpos($message, "@anonymous\0")) {
|
||||
$logMessage = $this->parseAnonymousClass($message);
|
||||
|
Reference in New Issue
Block a user