diff options
author | Alex <[email protected]> | 2019-02-01 07:09:12 -0800 |
---|---|---|
committer | Alex <[email protected]> | 2019-02-01 07:09:12 -0800 |
commit | 9e8ac346099afb8c8d0aee878fdd34f58d146446 (patch) | |
tree | 808531e0e4e2e1b3e69c34253d06eb26561e5c63 | |
parent | 60ba949e5ea17ae02fb795c011db7a71782f96e3 (diff) |
Cleanup PSR7Client from duplicate line
-rw-r--r-- | src/PSR7Client.php | 1 |
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) { |