mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 16:26:37 +03:00
Removed unnecessary type hints
This commit is contained in:
parent
1b94083188
commit
0760550767
2 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue