summaryrefslogtreecommitdiff
path: root/src/PSR7Client.php
diff options
context:
space:
mode:
authorAlex <[email protected]>2019-02-01 07:09:12 -0800
committerAlex <[email protected]>2019-02-01 07:09:12 -0800
commit9e8ac346099afb8c8d0aee878fdd34f58d146446 (patch)
tree808531e0e4e2e1b3e69c34253d06eb26561e5c63 /src/PSR7Client.php
parent60ba949e5ea17ae02fb795c011db7a71782f96e3 (diff)
Cleanup PSR7Client from duplicate line
Diffstat (limited to 'src/PSR7Client.php')
-rw-r--r--src/PSR7Client.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php
index a18d1754..8229b7d5 100644
--- a/src/PSR7Client.php
+++ b/src/PSR7Client.php
@@ -136,7 +136,6 @@ class PSR7Client
$server['REQUEST_TIME'] = time();
$server['REQUEST_TIME_FLOAT'] = microtime(true);
$server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1';
- $server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1';
$server['HTTP_USER_AGENT'] = '';
foreach ($ctx['headers'] as $key => $value) {