Skip to content

Commit 8ef8345

Browse files
authored
Update GuzzleClientAdapter.php
Missed a file
1 parent ce23248 commit 8ef8345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClientAdapters/GuzzleClientAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public function getForecast($latitude, $longitude, \DateTime $time = null, array
6060

6161
$this->responseHeaders = [
6262
'cache' => $cacheDirectives,
63-
'responseTime' => (int)current($response->getHeader('x-response-time')),
64-
'apiCalls' => (int)current($response->getHeader('x-forecast-api-calls'))
63+
'responseTime' => (int)$response->getHeader('x-response-time'),
64+
'apiCalls' => (int)$response->getHeader('x-forecast-api-calls')
6565
];
6666
return json_decode($response->getBody(), true);
6767
}

0 commit comments

Comments
 (0)