This commit is contained in:
2021-01-28 11:27:53 +08:00
parent f8c79b148e
commit fb0d3a4b9b
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ abstract class BaseApplication extends Service
* @return Http|Packet|Receive|Websocket|null
* @throws ComponentException
*/
public function getService(): Packet|Websocket|Receive|Http|null
public function getSwoole(): Packet|Websocket|Receive|Http|null
{
return $this->getServer()->getServer();
}