mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-24 15:26:38 -06:00
Removed unnecessary type hints
This commit is contained in:
parent
1b94083188
commit
0760550767
@ -32,7 +32,6 @@ class IpLocationResolver implements IpLocationResolverInterface
|
||||
$response = $this->httpClient->get(sprintf(self::SERVICE_PATTERN, $ipAddress));
|
||||
return json_decode((string) $response->getBody(), true);
|
||||
} catch (GuzzleException $e) {
|
||||
/** @var \Throwable $e */
|
||||
throw WrongIpException::fromIpAddress($ipAddress, $e);
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,6 @@ class UrlShortener implements UrlShortenerInterface
|
||||
'max' => 15,
|
||||
]]);
|
||||
} catch (GuzzleException $e) {
|
||||
/** @var \Throwable $e */
|
||||
throw InvalidUrlException::fromUrl($url, $e);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user