diff --git a/src/Response/Detail/DetailResponse.php b/src/Response/Detail/DetailResponse.php index 2db7919..ff3c279 100644 --- a/src/Response/Detail/DetailResponse.php +++ b/src/Response/Detail/DetailResponse.php @@ -40,7 +40,7 @@ class DetailResponse extends BaseResponse /** @var string|NULL */ private $street; - /** @var string */ + /** @var string|NULL */ private $streetNumber; /** @var string */ @@ -256,12 +256,15 @@ public function setStreet(string $street = NULL): self return $this; } - public function getStreetNumber(): string + /** + * @return string|null + */ + public function getStreetNumber() { return $this->streetNumber; } - public function setStreetNumber(string $streetNumber): self + public function setStreetNumber(string $streetNumber = NULL): self { $this->streetNumber = $streetNumber; return $this;