Completed
Pull Request — master (#107)
by Kristof
13:27 queued 03:30
created
src/Event/EventLDProjector.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Event;
7 7
 
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
         );
352 352
         $jsonLD->name['nl'] = $eventCreated->getTitle();
353 353
         $jsonLD->location = array(
354
-          '@type' => 'Place',
354
+            '@type' => 'Place',
355 355
         ) + (array)$this->placeJSONLD($eventCreated->getLocation()->getCdbid());
356 356
 
357 357
         $calendarJsonLD = $eventCreated->getCalendar()->toJsonLd();
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
 
410 410
         $jsonLD->name->nl = $majorInfoUpdated->getTitle();
411 411
         $jsonLD->location = array(
412
-          '@type' => 'Place',
412
+            '@type' => 'Place',
413 413
         ) + (array)$this->placeJSONLD($majorInfoUpdated->getLocation()->getCdbid());
414 414
 
415 415
         $calendarJsonLD = $majorInfoUpdated->getCalendar()->toJsonLd();
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
         $eventLd = $document->getBody();
650 650
 
651 651
         $eventLd->organizer = array(
652
-          '@type' => 'Organizer',
652
+            '@type' => 'Organizer',
653 653
         ) + (array)$this->organizerJSONLD($organizerUpdated->getOrganizerId());
654 654
 
655 655
         $this->repository->save($document->withBody($eventLd));
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/CdbXMLImporter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
 
165 165
     /**
166 166
      * @param \CultureFeed_Cdb_Item_Event $event
167
-     * @param $jsonLD
167
+     * @param \stdClass $jsonLD
168 168
      */
169 169
     private function importLabels(\CultureFeed_Cdb_Item_Event $event, $jsonLD)
170 170
     {
Please login to merge, or discard this patch.