Removed not needed null check

This commit is contained in:
Alejandro Celaya 2019-12-29 23:19:00 +01:00
parent bfeb915cd2
commit bf0d9ab7d9

View File

@ -87,7 +87,7 @@ class Visit extends AbstractEntity implements JsonSerializable
{
return [
'referer' => $this->referer,
'date' => $this->date !== null ? $this->date->toAtomString() : null,
'date' => $this->date->toAtomString(),
'userAgent' => $this->userAgent,
'visitLocation' => $this->visitLocation,