Completed
Pull Request — master (#281)
by Kristof
04:25
created
src/BookingInfo.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -132,14 +132,14 @@
 block discarded – undo
132 132
     public function serialize()
133 133
     {
134 134
         return [
135
-          'phone' => $this->phone,
136
-          'email' => $this->email,
137
-          'url' => $this->url,
138
-          'urlLabel' => $this->urlLabel,
139
-          'name' => $this->name,
140
-          'description' => $this->description,
141
-          'availabilityStarts' => $this->availabilityStarts,
142
-          'availabilityEnds' => $this->availabilityEnds
135
+            'phone' => $this->phone,
136
+            'email' => $this->email,
137
+            'url' => $this->url,
138
+            'urlLabel' => $this->urlLabel,
139
+            'name' => $this->name,
140
+            'description' => $this->description,
141
+            'availabilityStarts' => $this->availabilityStarts,
142
+            'availabilityEnds' => $this->availabilityEnds
143 143
         ];
144 144
     }
145 145
 
Please login to merge, or discard this patch.
src/Category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
     public function serialize()
71 71
     {
72 72
         return [
73
-          'id' => $this->id,
74
-          'label' => $this->label,
75
-          'domain' => $this->domain,
73
+            'id' => $this->id,
74
+            'label' => $this->label,
75
+            'domain' => $this->domain,
76 76
         ];
77 77
     }
78 78
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreated.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
         }
89 89
 
90 90
         return parent::serialize() + array(
91
-          'title' => (string) $this->getTitle(),
92
-          'addresses' => $addresses,
93
-          'phones' => $this->getPhones(),
94
-          'emails' => $this->getEmails(),
95
-          'urls' => $this->getUrls(),
91
+            'title' => (string) $this->getTitle(),
92
+            'addresses' => $addresses,
93
+            'phones' => $this->getPhones(),
94
+            'emails' => $this->getEmails(),
95
+            'urls' => $this->getUrls(),
96 96
         );
97 97
     }
98 98
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function serialize()
34 34
     {
35 35
         return array(
36
-          'organizer_id' => $this->organizerId,
36
+            'organizer_id' => $this->organizerId,
37 37
         );
38 38
     }
39 39
 
Please login to merge, or discard this patch.
src/SluggerInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 interface SluggerInterface
14 14
 {
15 15
     /**
16
-    * Returns the slug for a given string
17
-    *
18
-    * @param string $string
19
-    *
20
-    * @return string
21
-    **/
16
+     * Returns the slug for a given string
17
+     *
18
+     * @param string $string
19
+     *
20
+     * @return string
21
+     **/
22 22
     public function slug($string);
23 23
 }
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/EventLDProjector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -481,7 +481,7 @@
 block discarded – undo
481 481
 
482 482
         $jsonLD->name->nl = $majorInfoUpdated->getTitle();
483 483
         $jsonLD->location = array(
484
-          '@type' => 'Place',
484
+            '@type' => 'Place',
485 485
         ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid());
486 486
 
487 487
         // Remove old theme and event type.
Please login to merge, or discard this patch.
src/Event/ReadModel/Relations/Doctrine/DBALRepository.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -147,9 +147,9 @@  discard block
 block discarded – undo
147 147
     {
148 148
         $q = $this->connection->createQueryBuilder();
149 149
         $q->select('event')
150
-          ->from($this->tableName)
151
-          ->where('place = ?')
152
-          ->setParameter(0, $placeId);
150
+            ->from($this->tableName)
151
+            ->where('place = ?')
152
+            ->setParameter(0, $placeId);
153 153
 
154 154
         $results = $q->execute();
155 155
 
@@ -184,8 +184,8 @@  discard block
 block discarded – undo
184 184
     {
185 185
         $q = $this->connection->createQueryBuilder();
186 186
         $q->delete($this->tableName)
187
-          ->where('event = ?')
188
-          ->setParameter(0, $eventId);
187
+            ->where('event = ?')
188
+            ->setParameter(0, $eventId);
189 189
 
190 190
         $q->execute();
191 191
     }
Please login to merge, or discard this patch.
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.