改名
This commit is contained in:
@@ -366,7 +366,7 @@ class Request extends HttpService implements RequestInterface
|
||||
/**
|
||||
* @return mixed|null
|
||||
*/
|
||||
public function getIp(): string|null
|
||||
#[Pure] public function getIp(): string|null
|
||||
{
|
||||
$headers = $this->getHeaders();
|
||||
if (!empty($headers['remoteip'])) return $headers['remoteip'];
|
||||
|
||||
Reference in New Issue
Block a user