From 1aef7786edf3718a4167728fe48dd9f9be22deef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 12 Jan 2021 17:43:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Process/ServerInotify.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 39587bb2..0d31a290 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -229,10 +229,13 @@ class ServerInotify extends Process } /** + * @param $code + * @param $message + * @param $file + * @param $line */ - protected function onErrorHandler() + protected function onErrorHandler($code, $message, $file, $line) { - [$code, $message, $file, $line, $args] = func_get_args(); $this->application->debug('Error:' . $message); $this->application->debug($file . ':' . $line); }