From c4b30db82d3be1522a12c3f3d57ff085b002e137 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 18 Jul 2022 20:23:27 +0200 Subject: [PATCH] Added missing implements JsonSerializable on VisitLocation that got lost when VisitLocationInterface was removed --- module/Core/src/Entity/VisitLocation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/Core/src/Entity/VisitLocation.php b/module/Core/src/Entity/VisitLocation.php index 5ab781de..239338d6 100644 --- a/module/Core/src/Entity/VisitLocation.php +++ b/module/Core/src/Entity/VisitLocation.php @@ -4,11 +4,12 @@ declare(strict_types=1); namespace Shlinkio\Shlink\Core\Entity; +use JsonSerializable; use Shlinkio\Shlink\Common\Entity\AbstractEntity; use Shlinkio\Shlink\Importer\Model\ImportedShlinkVisitLocation; use Shlinkio\Shlink\IpGeolocation\Model\Location; -class VisitLocation extends AbstractEntity +class VisitLocation extends AbstractEntity implements JsonSerializable { private string $countryCode; private string $countryName;