From 3d3441e6be8034d1dda4f6048766e573aeb2e3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Mon, 29 Nov 2021 12:38:16 +0100 Subject: [PATCH] Branch: Region can be null. --- src/Entity/ZasilkovnaBranch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/ZasilkovnaBranch.php b/src/Entity/ZasilkovnaBranch.php index 44b2ed8..eb5fd0d 100644 --- a/src/Entity/ZasilkovnaBranch.php +++ b/src/Entity/ZasilkovnaBranch.php @@ -47,7 +47,7 @@ final class ZasilkovnaBranch implements IBranch private int $maxWeight; - private string $region; + private ?string $region; private string $district; @@ -235,7 +235,7 @@ public function getMaxWeight(): int } - public function getRegion(): string + public function getRegion(): ?string { return $this->region; }