Skip to content

Commit

Permalink
Merge pull request #33 from peter279k/issue_#32
Browse files Browse the repository at this point in the history
Resolving issue#32
  • Loading branch information
fieryprophet authored May 29, 2023
2 parents d6fc226 + 365eb3a commit 6c637ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPSandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -7230,7 +7230,7 @@ public function __call(string $method, array $arguments){
if(method_exists($this, $renamed_method)){
return call_user_func_array([$this, $renamed_method], $arguments);
}
trigger_error('Fatal error: Call to undefined method PHPSandbox::' . $method, E_ERROR);
trigger_error('Fatal error: Call to undefined method PHPSandbox::' . $method, E_USER_ERROR);
return null;
}
}

0 comments on commit 6c637ef

Please sign in to comment.