Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Jun 1, 2018
1 parent e95ffdb commit 137057b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Geo6.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ private function executeQuery(string $url): \stdClass
*
* @param string $url
*
* @return string
*
* @throws InvalidServerResponse
*
* @return string
*/
protected function getUrlContents(string $url): string
{
Expand All @@ -188,6 +188,7 @@ protected function getUrlContents(string $url): string
if (empty($body)) {
throw InvalidServerResponse::emptyResponse($url);
}

return $body;
}

Expand All @@ -200,7 +201,7 @@ private function getToken()
{
$time = time();

$t = $this->clientId.'__';
$t = $this->clientId.'__';
$t .= $time.'__';
$t .= parse_url(self::GEOCODE_ENDPOINT_URL, PHP_URL_HOST).'__';
$t .= 'GET'.'__';
Expand Down Expand Up @@ -257,7 +258,5 @@ private function extractComponents(object $feature, string $language)
'countryCode' => 'BE',
]);
}

return NULL;
}
}

0 comments on commit 137057b

Please sign in to comment.