From 941db25f70ce9b19d1c02240dab984a54d0d43c7 Mon Sep 17 00:00:00 2001 From: Yurun Date: Fri, 7 Jan 2022 15:23:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BaseMiddleware.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BaseMiddleware.php b/src/BaseMiddleware.php index 7a974dc..7d25f70 100644 --- a/src/BaseMiddleware.php +++ b/src/BaseMiddleware.php @@ -42,10 +42,8 @@ public function __init(): void /** * 获取本机IP. - * - * @return string */ - protected function getLocalIP() + protected function getLocalIP(): string { $list = swoole_get_local_ip(); if ($this->interface)