mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 07:13:11 +08:00
18 lines
391 B
PHP
18 lines
391 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Common\IpGeolocation;
|
|
|
|
use Shlinkio\Shlink\Common\Exception\WrongIpException;
|
|
|
|
class EmptyIpLocationResolver implements IpLocationResolverInterface
|
|
{
|
|
/**
|
|
* @throws WrongIpException
|
|
*/
|
|
public function resolveIpLocation(string $ipAddress): Model\Location
|
|
{
|
|
return Model\Location::emptyInstance();
|
|
}
|
|
}
|