@@ -116,9 +116,9 @@ |
||
116 | 116 | { |
117 | 117 | $serialized = array_filter( |
118 | 118 | [ |
119 | - 'phone' => $this->phone, |
|
120 | - 'email' => $this->email, |
|
121 | - 'url' => $this->url, |
|
119 | + 'phone' => $this->phone, |
|
120 | + 'email' => $this->email, |
|
121 | + 'url' => $this->url, |
|
122 | 122 | ] |
123 | 123 | ); |
124 | 124 |
@@ -276,23 +276,23 @@ |
||
276 | 276 | |
277 | 277 | $manipulateUrlLabel = function (array $serializedBookingInfo) { |
278 | 278 | if (!isset($serializedBookingInfo['urlLabel'])) { |
279 | - return $serializedBookingInfo; |
|
279 | + return $serializedBookingInfo; |
|
280 | 280 | } |
281 | 281 | |
282 | 282 | $urlLabel = $serializedBookingInfo['urlLabel']; |
283 | 283 | |
284 | 284 | if (empty($urlLabel)) { |
285 | - unset($serializedBookingInfo['urlLabel']); |
|
286 | - return $serializedBookingInfo; |
|
285 | + unset($serializedBookingInfo['urlLabel']); |
|
286 | + return $serializedBookingInfo; |
|
287 | 287 | } |
288 | 288 | |
289 | 289 | if (is_string($urlLabel)) { |
290 | - $serializedBookingInfo['urlLabel'] = ['nl' => $urlLabel]; |
|
291 | - return $serializedBookingInfo; |
|
290 | + $serializedBookingInfo['urlLabel'] = ['nl' => $urlLabel]; |
|
291 | + return $serializedBookingInfo; |
|
292 | 292 | } |
293 | 293 | |
294 | 294 | if (is_array($urlLabel)) { |
295 | - return $serializedBookingInfo; |
|
295 | + return $serializedBookingInfo; |
|
296 | 296 | } |
297 | 297 | |
298 | 298 | // In case of unknown format clear the urlLabel property. |