mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 17:44:44 +08:00
Added property types to some classes
This commit is contained in:
@@ -15,18 +15,12 @@ use Shlinkio\Shlink\Core\Visit\Model\VisitLocationInterface;
|
||||
|
||||
class Visit extends AbstractEntity implements JsonSerializable
|
||||
{
|
||||
/** @var string */
|
||||
private $referer;
|
||||
/** @var Chronos */
|
||||
private $date;
|
||||
/** @var string|null */
|
||||
private $remoteAddr;
|
||||
/** @var string */
|
||||
private $userAgent;
|
||||
/** @var ShortUrl */
|
||||
private $shortUrl;
|
||||
/** @var VisitLocation */
|
||||
private $visitLocation;
|
||||
private string $referer;
|
||||
private Chronos $date;
|
||||
private ?string $remoteAddr;
|
||||
private string $userAgent;
|
||||
private ShortUrl $shortUrl;
|
||||
private ?VisitLocation $visitLocation = null;
|
||||
|
||||
public function __construct(ShortUrl $shortUrl, Visitor $visitor, ?Chronos $date = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user