We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156789d commit aa0f51aCopy full SHA for aa0f51a
src/Errors/ErrorHandler.php
@@ -44,10 +44,10 @@ static function handleError(){
44
45
register_shutdown_function(function(){
46
$error = error_get_last();
47
- if(self::$lastError == $error){
+ if(ErrorHandler::$lastError == $error){
48
return;
49
}
50
- self::$lastError = $error;
+ ErrorHandler::$lastError = $error;
51
if(is_array($error) &&
52
($error["type"] == E_ERROR || $error["type"] == E_PARSE || $error["type"] == E_CORE_ERROR || $error["type"] == E_COMPILE_ERROR)){
53
if(ob_get_contents() !== false){
0 commit comments