Completed
Pull Request — master (#243)
by Luc
05:03
created
src/Event/ReadModel/JSONLD/CdbXMLImporter.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     private function dateFromUdb2UnixTime($unixTime)
160 160
     {
161 161
         $dateTime = new \DateTime(
162
-            '@' . $unixTime,
162
+            '@'.$unixTime,
163 163
             new \DateTimeZone('Europe/Brussels')
164 164
         );
165 165
 
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
                     'addressLocality' => $address->getCity(),
259 259
                     'postalCode' => $address->getZip(),
260 260
                     'streetAddress' =>
261
-                        $address->getStreet() . ' ' . $address->getHouseNumber(
261
+                        $address->getStreet().' '.$address->getHouseNumber(
262 262
                         ),
263 263
                 );
264 264
             }
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
     ) {
439 439
         $contactInfo = $event->getContactInfo();
440 440
 
441
-        $notForReservations = function ($item) {
441
+        $notForReservations = function($item) {
442 442
             /** @var \CultureFeed_Cdb_Data_Url|\CultureFeed_Cdb_Data_Phone|\CultureFeed_Cdb_Data_Mail $item */
443 443
             return !$item->isForReservations();
444 444
         };
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
 
451 451
             if (!empty($emails)) {
452 452
                 $contactPoint['email'] = array_map(
453
-                    function (\CultureFeed_Cdb_Data_Mail $email) {
453
+                    function(\CultureFeed_Cdb_Data_Mail $email) {
454 454
                         return $email->getMailAddress();
455 455
                     },
456 456
                     $emails
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
 
463 463
             if (!empty($phones)) {
464 464
                 $contactPoint['phone'] = array_map(
465
-                    function (\CultureFeed_Cdb_Data_phone $phone) {
465
+                    function(\CultureFeed_Cdb_Data_phone $phone) {
466 466
                         return $phone->getNumber();
467 467
                     },
468 468
                     $phones
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
 
475 475
             if (!empty($urls)) {
476 476
                 $contactPoint['url'] = array_map(
477
-                    function (\CultureFeed_Cdb_Data_Url $url) {
477
+                    function(\CultureFeed_Cdb_Data_Url $url) {
478 478
                         return $url->getUrl();
479 479
                     },
480 480
                     $urls
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
             $slug = '';
610 610
         }
611 611
 
612
-        $reference = 'http://www.uitinvlaanderen.be/agenda/e/' . $slug . '/' . $event->getCdbId();
612
+        $reference = 'http://www.uitinvlaanderen.be/agenda/e/'.$slug.'/'.$event->getCdbId();
613 613
 
614 614
 
615 615
         if (!property_exists($jsonLD, 'sameAs')) {
Please login to merge, or discard this patch.