Completed
Pull Request — master (#234)
by Kristof
04:52
created
src/Location/Location.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,9 +66,9 @@
 block discarded – undo
66 66
     public function serialize()
67 67
     {
68 68
         return [
69
-          'cdbid' => $this->cdbid,
70
-          'name' => $this->name->toNative(),
71
-          'address' => $this->address->serialize()
69
+            'cdbid' => $this->cdbid,
70
+            'name' => $this->name->toNative(),
71
+            'address' => $this->address->serialize()
72 72
         ];
73 73
     }
74 74
 
Please login to merge, or discard this patch.
src/Address/Address.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,10 +81,10 @@
 block discarded – undo
81 81
     public function serialize()
82 82
     {
83 83
         return [
84
-          'streetAddress' => $this->streetAddress->toNative(),
85
-          'postalCode' => $this->postalCode->toNative(),
86
-          'addressLocality' => $this->locality->toNative(),
87
-          'addressCountry' => $this->countryCode,
84
+            'streetAddress' => $this->streetAddress->toNative(),
85
+            'postalCode' => $this->postalCode->toNative(),
86
+            'addressLocality' => $this->locality->toNative(),
87
+            'addressCountry' => $this->countryCode,
88 88
         ];
89 89
     }
90 90
 
Please login to merge, or discard this patch.
src/Cdb/PriceDescriptionParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $valuePattern = '\€?\s*[\d,]+\s*\€?';
49 49
 
50 50
         $pricePattern =
51
-          "/(?<name>{$namePattern}):\s*(?<value>{$valuePattern})/u";
51
+            "/(?<name>{$namePattern}):\s*(?<value>{$valuePattern})/u";
52 52
 
53 53
         $numberFormat = $this->numberFormatRepository->get('nl-BE');
54 54
         $currencyFormatter = new NumberFormatter(
Please login to merge, or discard this patch.
src/Calendar.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         }
59 59
 
60 60
         if ($type->is(CalendarType::SINGLE()) && empty($endDate)) {
61
-          throw new \UnexpectedValueException('End date can not be empty for calendar type: ' . $type . '.');
61
+            throw new \UnexpectedValueException('End date can not be empty for calendar type: ' . $type . '.');
62 62
         }
63 63
 
64 64
         if ($type->is(CalendarType::PERIODIC()) && (empty($startDate) || empty($endDate))) {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         );
94 94
 
95 95
         $calendar = [
96
-          'type' => $this->type,
96
+            'type' => $this->type,
97 97
         ];
98 98
 
99 99
         empty($this->startDate) ?: $calendar['startDate'] = $this->startDate->format(DateTime::ATOM);
@@ -201,9 +201,9 @@  discard block
 block discarded – undo
201 201
             $jsonLd['subEvent'] = array();
202 202
             foreach ($timestamps as $timestamp) {
203 203
                 $jsonLd['subEvent'][] = array(
204
-                  '@type' => 'Event',
205
-                  'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM),
206
-                  'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM),
204
+                    '@type' => 'Event',
205
+                    'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM),
206
+                    'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM),
207 207
                 );
208 208
             }
209 209
         }
Please login to merge, or discard this patch.