From 6398f80cca81546e93020ba891a0c8742877bf8a Mon Sep 17 00:00:00 2001 From: vitro-mod <108282310+vitro-mod@users.noreply.github.com> Date: Tue, 16 Apr 2024 03:09:03 +0400 Subject: [PATCH] fixed typo in phpdoc for getIp method --- src/Pecee/Http/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pecee/Http/Request.php b/src/Pecee/Http/Request.php index e9f9742..333a8fa 100644 --- a/src/Pecee/Http/Request.php +++ b/src/Pecee/Http/Request.php @@ -216,7 +216,7 @@ public function getHeaders(): array } /** - * Get id address + * Get ip address * If $safe is false, this function will detect Proxys. But the user can edit this header to whatever he wants! * https://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php#comment-25086804 * @param bool $safeMode When enabled, only safe non-spoofable headers will be returned. Note this can cause issues when using proxy.