add ide-helper for swoole, forked from swoole/ide-helper
the swoft use it as default.
you can add it by composer
:
composer require swoft/swoole-ide-helper
swoft/swoole-ide-helper
keep the same version of swoole
php dump.php
跟源仓库稍微不同的是:给大部分方法参数添加了变量类型。
eg, old:
public function send($fd, $send_data, $reactor_id=null){}
now:
public function send(int $fd, string $send_data, int $reactor_id=null){}