| @@ -86,9 +86,9 @@ | ||
| 86 | 86 | public function getFullAddress(): string { |
| 87 | 87 | return sprintf( |
| 88 | 88 | '%s%s, %s %s', |
| 89 | 89 | $this->street, |
| 90 | - ( $this->houseNumber ? ' ' . $this->houseNumber : '' ), | |
| 90 | + ( $this->houseNumber !== null ? ' ' . $this->houseNumber : '' ), | |
| 91 | 91 | $this->city, |
| 92 | 92 | $this->zip |
| 93 | 93 | ); |
| 94 | 94 | } |
| @@ -200,9 +200,9 @@ | ||
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | 202 | * Export. |
| 203 | 203 | * |
| 204 | - * @return array | |
| 204 | + * @return array<string, string|null> | |
| 205 | 205 | */ |
| 206 | 206 | public function export(): array { |
| 207 | 207 | return get_object_vars( $this ); |
| 208 | 208 | } |