mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Extracted logic to geolocate a visit, handling possible domain errors
This commit is contained in:
10
module/Core/src/Visit/Model/UnlocatableIpType.php
Normal file
10
module/Core/src/Visit/Model/UnlocatableIpType.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Shlinkio\Shlink\Core\Visit\Model;
|
||||
|
||||
enum UnlocatableIpType
|
||||
{
|
||||
case EMPTY_ADDRESS;
|
||||
case LOCALHOST;
|
||||
case ERROR;
|
||||
}
|
||||
Reference in New Issue
Block a user