Completed
Pull Request — master (#161)
by Kristof
05:38
created
src/Calendar.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -95,11 +95,11 @@  discard block
 block discarded – undo
95 95
         );
96 96
 
97 97
         return [
98
-          'type' => $this->getType(),
99
-          'startDate' => $this->startDate,
100
-          'endDate' => $this->endDate,
101
-          'timestamps' => $serializedTimestamps,
102
-          'openingHours' => $this->openingHours,
98
+            'type' => $this->getType(),
99
+            'startDate' => $this->startDate,
100
+            'endDate' => $this->endDate,
101
+            'timestamps' => $serializedTimestamps,
102
+            'openingHours' => $this->openingHours,
103 103
         ];
104 104
     }
105 105
 
@@ -181,9 +181,9 @@  discard block
 block discarded – undo
181 181
             $jsonLd['subEvent'] = array();
182 182
             foreach ($timestamps as $timestamp) {
183 183
                 $jsonLd['subEvent'][] = array(
184
-                  '@type' => 'Event',
185
-                  'startDate' => $timestamp->getStartDate(),
186
-                  'endDate' => $timestamp->getEndDate(),
184
+                    '@type' => 'Event',
185
+                    'startDate' => $timestamp->getStartDate(),
186
+                    'endDate' => $timestamp->getEndDate(),
187 187
                 );
188 188
             }
189 189
         }
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.