Skip to content

Commit

Permalink
FinStat detail response can contain NULL in streetNumber attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hubipe committed Aug 1, 2019
1 parent 6c29f6d commit b9daa88
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Response/Detail/DetailResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class DetailResponse extends BaseResponse
/** @var string|NULL */
private $street;

/** @var string */
/** @var string|NULL */
private $streetNumber;

/** @var string */
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b9daa88

Please sign in to comment.