diff --git a/Server.php b/Server.php index 57c529f1..b2222c51 100644 --- a/Server.php +++ b/Server.php @@ -5,7 +5,7 @@ use Evenement\EventEmitter; use React\EventLoop\LoopInterface; -// Events: connection +/** @event connection */ class Server extends EventEmitter implements ServerInterface { public $master; diff --git a/ServerInterface.php b/ServerInterface.php index da3c8ab3..3665a165 100644 --- a/ServerInterface.php +++ b/ServerInterface.php @@ -4,7 +4,7 @@ use Evenement\EventEmitterInterface; -// Events: connection +/** @event connection */ interface ServerInterface extends EventEmitterInterface { public function listen($port, $host = '127.0.0.1');