@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | |
64 | 64 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
65 | 65 | 'CultuurNet\UDB3\Event\TitleTranslated', |
66 | - function (array $serializedObject) { |
|
66 | + function(array $serializedObject) { |
|
67 | 67 | $serializedObject['class'] = TitleTranslated::class; |
68 | 68 | |
69 | 69 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
76 | 76 | 'CultuurNet\UDB3\Event\DescriptionTranslated', |
77 | - function (array $serializedObject) { |
|
77 | + function(array $serializedObject) { |
|
78 | 78 | $serializedObject['class'] = DescriptionTranslated::class; |
79 | 79 | |
80 | 80 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -89,49 +89,49 @@ discard block |
||
89 | 89 | |
90 | 90 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
91 | 91 | 'CultuurNet\UDB3\Label\Events\MadeInvisible', |
92 | - function (array $serializedObject) use ($labelRepository) { |
|
92 | + function(array $serializedObject) use ($labelRepository) { |
|
93 | 93 | return self::addLabelName($serializedObject, $labelRepository); |
94 | 94 | } |
95 | 95 | ); |
96 | 96 | |
97 | 97 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
98 | 98 | 'CultuurNet\UDB3\Label\Events\MadeVisible', |
99 | - function (array $serializedObject) use ($labelRepository) { |
|
99 | + function(array $serializedObject) use ($labelRepository) { |
|
100 | 100 | return self::addLabelName($serializedObject, $labelRepository); |
101 | 101 | } |
102 | 102 | ); |
103 | 103 | |
104 | 104 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
105 | 105 | 'CultuurNet\UDB3\Label\Events\MadePrivate', |
106 | - function (array $serializedObject) use ($labelRepository) { |
|
106 | + function(array $serializedObject) use ($labelRepository) { |
|
107 | 107 | return self::addLabelName($serializedObject, $labelRepository); |
108 | 108 | } |
109 | 109 | ); |
110 | 110 | |
111 | 111 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
112 | 112 | 'CultuurNet\UDB3\Label\Events\MadePublic', |
113 | - function (array $serializedObject) use ($labelRepository) { |
|
113 | + function(array $serializedObject) use ($labelRepository) { |
|
114 | 114 | return self::addLabelName($serializedObject, $labelRepository); |
115 | 115 | } |
116 | 116 | ); |
117 | 117 | |
118 | 118 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
119 | 119 | 'CultuurNet\UDB3\Organizer\Events\LabelAdded', |
120 | - function (array $serializedObject) use ($labelRepository) { |
|
120 | + function(array $serializedObject) use ($labelRepository) { |
|
121 | 121 | return self::fixOrganizerLabelEvent($serializedObject, $labelRepository); |
122 | 122 | } |
123 | 123 | ); |
124 | 124 | |
125 | 125 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
126 | 126 | 'CultuurNet\UDB3\Organizer\Events\LabelRemoved', |
127 | - function (array $serializedObject) use ($labelRepository) { |
|
127 | + function(array $serializedObject) use ($labelRepository) { |
|
128 | 128 | return self::fixOrganizerLabelEvent($serializedObject, $labelRepository); |
129 | 129 | } |
130 | 130 | ); |
131 | 131 | |
132 | 132 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
133 | 133 | 'CultuurNet\UDB3\Event\Events\EventWasLabelled', |
134 | - function (array $serializedObject) { |
|
134 | + function(array $serializedObject) { |
|
135 | 135 | $serializedObject['class'] = LabelAdded::class; |
136 | 136 | |
137 | 137 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
144 | 144 | 'CultuurNet\UDB3\Event\EventWasTagged', |
145 | - function (array $serializedObject) { |
|
145 | + function(array $serializedObject) { |
|
146 | 146 | $serializedObject['class'] = LabelAdded::class; |
147 | 147 | |
148 | 148 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | |
156 | 156 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
157 | 157 | 'CultuurNet\UDB3\Event\TagErased', |
158 | - function (array $serializedObject) { |
|
158 | + function(array $serializedObject) { |
|
159 | 159 | $serializedObject['class'] = LabelRemoved::class; |
160 | 160 | |
161 | 161 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | |
169 | 169 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
170 | 170 | 'CultuurNet\UDB3\Event\Events\Unlabelled', |
171 | - function (array $serializedObject) { |
|
171 | + function(array $serializedObject) { |
|
172 | 172 | $serializedObject['class'] = LabelRemoved::class; |
173 | 173 | |
174 | 174 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | |
184 | 184 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
185 | 185 | 'CultuurNet\UDB3\Event\EventImportedFromUDB2', |
186 | - function (array $serializedObject) { |
|
186 | + function(array $serializedObject) { |
|
187 | 187 | $serializedObject['class'] = EventImportedFromUDB2::class; |
188 | 188 | |
189 | 189 | return $serializedObject; |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | */ |
196 | 196 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
197 | 197 | 'CultuurNet\UDB3\Place\Events\FacilitiesUpdated', |
198 | - function (array $serializedObject) { |
|
198 | + function(array $serializedObject) { |
|
199 | 199 | $serializedObject = self::replacePlaceIdWithItemId($serializedObject); |
200 | 200 | |
201 | 201 | return $serializedObject; |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | foreach ($refactoredEventEvents as $refactoredEventEvent) { |
221 | 221 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
222 | 222 | $refactoredEventEvent, |
223 | - function (array $serializedObject) { |
|
223 | + function(array $serializedObject) { |
|
224 | 224 | $serializedObject = self::replaceEventIdWithItemId($serializedObject); |
225 | 225 | return $serializedObject; |
226 | 226 | } |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | foreach ($refactoredPlaceEvents as $refactoredPlaceEvent) { |
245 | 245 | $payloadManipulatingSerializer->manipulateEventsOfClass( |
246 | 246 | $refactoredPlaceEvent, |
247 | - function (array $serializedObject) { |
|
247 | + function(array $serializedObject) { |
|
248 | 248 | $serializedObject = self::replacePlaceIdWithItemId($serializedObject); |
249 | 249 | return $serializedObject; |
250 | 250 | } |