Completed
Pull Request — master (#377)
by
unknown
05:58
created
src/BookingInfo.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -116,9 +116,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/BackwardsCompatiblePayloadSerializerFactory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -276,23 +276,23 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.