PluginProbe
Packeta / 2.1
Packeta v2.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
← All changes | src/Packetery/Core/Entity/Address.php +2 -2 1.6.12.1 View file →
@@ -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 }