Completed
Pull Request — master (#323)
by
unknown
05:10
created
src/Calendar.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         );
110 110
 
111 111
         $calendar = [
112
-          'type' => $this->type,
112
+            'type' => $this->type,
113 113
         ];
114 114
 
115 115
         empty($this->startDate) ?: $calendar['startDate'] = $this->startDate->format(DateTime::ATOM);
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
             $jsonLd['subEvent'] = array();
223 223
             foreach ($timestamps as $timestamp) {
224 224
                 $jsonLd['subEvent'][] = array(
225
-                  '@type' => 'udb:Event',
226
-                  'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM),
227
-                  'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM),
225
+                    '@type' => 'udb:Event',
226
+                    'startDate' => $timestamp->getStartDate()->format(DateTime::ATOM),
227
+                    'endDate' => $timestamp->getEndDate()->format(DateTime::ATOM),
228 228
                 );
229 229
             }
230 230
         }
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
@@ -560,7 +560,7 @@
 block discarded – undo
560 560
 
561 561
         $jsonLD->name->nl = $majorInfoUpdated->getTitle();
562 562
         $jsonLD->location = array(
563
-          '@type' => 'udb:Place',
563
+            '@type' => 'udb:Place',
564 564
         ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid());
565 565
 
566 566
         $availableTo = AvailableTo::createFromCalendar($majorInfoUpdated->getCalendar());
Please login to merge, or discard this patch.