This commit is contained in:
2021-01-05 15:23:04 +08:00
parent 6d57c89e7c
commit eec9beb753
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class ServerInotify extends Process
* @param \Swoole\Process $process
* @throws Exception
*/
public function onHandler(\Swoole\Process $process)
public function onHandler(\Swoole\Process $process): void
{
set_error_handler([$this, 'onErrorHandler']);
$this->dirs = Config::get('inotify', false, [APP_PATH]);