Skip to content

Commit

Permalink
Fix for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
kakserpom committed Jun 2, 2021
1 parent e8d5178 commit 17c7a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPDaemon/Core/Daemon.php
Expand Up @@ -383,7 +383,7 @@ public static function uncaughtExceptionHandler(\Throwable $e)
* @param integer $errline
* @param array $errcontext
*/
public static function errorHandler($errno, $errstr, $errfile, $errline, $errcontext)
public static function errorHandler($errno, $errstr, $errfile, $errline, $errcontext = [])
{
Daemon::$noError = false;
$l = error_reporting();
Expand Down

0 comments on commit 17c7a7e

Please sign in to comment.