Skip to content

Commit

Permalink
Merge pull request #22 from freshcells/master
Browse files Browse the repository at this point in the history
Removed deprecated argument `$errcontext` for `set_error_handler` since php 8.x
  • Loading branch information
mcfedr authored Sep 7, 2022
2 parents 2e28ebd + 56aeff0 commit cd099d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function healthCheckAction(): Response
}
}

set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) {
set_error_handler(function ($errno, $errstr, $errfile, $errline) {
// error was suppressed with the @-operator
if (0 === error_reporting()) {
return false;
Expand Down

0 comments on commit cd099d4

Please sign in to comment.