Created an EmptyIpLocationResolver which always returns an empty resolution and can be used as a fallback while resolving IP addresses

This commit is contained in:
Alejandro Celaya
2018-11-12 20:58:14 +01:00
parent 1aa78f766a
commit c7339f6cfa
7 changed files with 78 additions and 8 deletions

View File

@@ -18,8 +18,6 @@ class ChainIpLocationResolver implements IpLocationResolverInterface
}
/**
* @param string $ipAddress
* @return array
* @throws WrongIpException
*/
public function resolveIpLocation(string $ipAddress): array