Skip to content

Commit

Permalink
Cleanup PSR7Client from duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Bond committed Feb 1, 2019
1 parent 60ba949 commit 9e8ac34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PSR7Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ protected function configureServer(array $ctx): array
$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) {
Expand Down

0 comments on commit 9e8ac34

Please sign in to comment.