This commit is contained in:
2020-10-09 16:34:33 +08:00
parent c6345a245c
commit 5eaf38b952
6 changed files with 261 additions and 3 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ trait Action
* @return mixed
* @throws Exception
*/
public function restart($socket)
public function restart(\HttpServer\Server $socket)
{
$this->_shutdown($socket);
@@ -34,7 +34,7 @@ trait Action
* @param \HttpServer\Server $socket
* @throws Exception
*/
public function stop($socket)
public function stop(\HttpServer\Server $socket)
{
$this->_shutdown($socket);
}