Completed
Pull Request — master (#364)
by Luc
15:39 queued 06:04
created
src/Organizer/ReadModel/JSONLD/OrganizerJsonDocumentLanguageAnalyzer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@
 block discarded – undo
59 59
         $mainLanguage = isset($body->mainLanguage) ? $body->mainLanguage : 'nl';
60 60
 
61 61
         if (is_string($body->name)) {
62
-            $body->name = (object) [
62
+            $body->name = (object)[
63 63
                 $mainLanguage => $body->name,
64 64
             ];
65 65
         }
66 66
 
67 67
         if (isset($body->address->streetAddress)) {
68
-            $body->address = (object) [
68
+            $body->address = (object)[
69 69
                 $mainLanguage => $body->address,
70 70
             ];
71 71
         }
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/EventJsonDocumentLanguageAnalyzer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $mainLanguage = isset($body->mainLanguage) ? $body->mainLanguage : 'nl';
61 61
 
62 62
         if (isset($body->bookingInfo->urlLabel) && is_string($body->bookingInfo->urlLabel)) {
63
-            $body->bookingInfo->urlLabel = (object) [
63
+            $body->bookingInfo->urlLabel = (object)[
64 64
                 $mainLanguage => $body->bookingInfo->urlLabel,
65 65
             ];
66 66
         }
Please login to merge, or discard this patch.
src/ReadModel/ConfigurableJsonDocumentLanguageAnalyzer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     {
115 115
         $nestedProperties = array_reduce(
116 116
             explode('.', $propertyName),
117
-            function ($object, $path) {
117
+            function($object, $path) {
118 118
                 if (isset($object->$path)) {
119 119
                     return $object->$path;
120 120
                 } else {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     private function getLanguageStringsAsValueObjects(array $languageStrings)
139 139
     {
140 140
         return array_map(
141
-            function ($languageString) {
141
+            function($languageString) {
142 142
                 return new Language($languageString);
143 143
             },
144 144
             $languageStrings
Please login to merge, or discard this patch.
src/Place/ReadModel/JSONLD/PlaceJsonDocumentLanguageAnalyzer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,13 +61,13 @@
 block discarded – undo
61 61
         $mainLanguage = isset($body->mainLanguage) ? $body->mainLanguage : 'nl';
62 62
 
63 63
         if (isset($body->address->streetAddress)) {
64
-            $body->address = (object) [
64
+            $body->address = (object)[
65 65
                 $mainLanguage => $body->address,
66 66
             ];
67 67
         }
68 68
 
69 69
         if (isset($body->bookingInfo->urlLabel) && is_string($body->bookingInfo->urlLabel)) {
70
-            $body->bookingInfo->urlLabel = (object) [
70
+            $body->bookingInfo->urlLabel = (object)[
71 71
                 $mainLanguage => $body->bookingInfo->urlLabel,
72 72
             ];
73 73
         }
Please login to merge, or discard this patch.