改名
This commit is contained in:
@@ -8,6 +8,9 @@ interface SProcess
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public function onHandler(\Swoole\Process $process);
|
/**
|
||||||
|
* @param \Swoole\Process $process
|
||||||
|
*/
|
||||||
|
public function onHandler(\Swoole\Process $process): void;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class ServerInotify extends Process
|
|||||||
* @param \Swoole\Process $process
|
* @param \Swoole\Process $process
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function onHandler(\Swoole\Process $process)
|
public function onHandler(\Swoole\Process $process): void
|
||||||
{
|
{
|
||||||
set_error_handler([$this, 'onErrorHandler']);
|
set_error_handler([$this, 'onErrorHandler']);
|
||||||
$this->dirs = Config::get('inotify', false, [APP_PATH]);
|
$this->dirs = Config::get('inotify', false, [APP_PATH]);
|
||||||
|
|||||||
Reference in New Issue
Block a user