Removed unnecessary type hints

This commit is contained in:
Alejandro Celaya 2017-12-28 09:48:34 +01:00
parent 1b94083188
commit 0760550767
2 changed files with 0 additions and 2 deletions

View file

@ -32,7 +32,6 @@ class IpLocationResolver implements IpLocationResolverInterface
$response = $this->httpClient->get(sprintf(self::SERVICE_PATTERN, $ipAddress)); $response = $this->httpClient->get(sprintf(self::SERVICE_PATTERN, $ipAddress));
return json_decode((string) $response->getBody(), true); return json_decode((string) $response->getBody(), true);
} catch (GuzzleException $e) { } catch (GuzzleException $e) {
/** @var \Throwable $e */
throw WrongIpException::fromIpAddress($ipAddress, $e); throw WrongIpException::fromIpAddress($ipAddress, $e);
} }
} }

View file

@ -149,7 +149,6 @@ class UrlShortener implements UrlShortenerInterface
'max' => 15, 'max' => 15,
]]); ]]);
} catch (GuzzleException $e) { } catch (GuzzleException $e) {
/** @var \Throwable $e */
throw InvalidUrlException::fromUrl($url, $e); throw InvalidUrlException::fromUrl($url, $e);
} }
} }