@@ -174,12 +174,12 @@ discard block |
||
174 | 174 | $flows = $screen->allFlows(); |
175 | 175 | |
176 | 176 | // Get all flow ids |
177 | - $flowIds = array_map(function ($e) { |
|
177 | + $flowIds = array_map(function($e) { |
|
178 | 178 | return $e->id; |
179 | 179 | }, $flows); |
180 | 180 | |
181 | 181 | // Get all content type ids |
182 | - $contentTypes = array_map(function ($e) { |
|
182 | + $contentTypes = array_map(function($e) { |
|
183 | 183 | return $e->id; |
184 | 184 | }, $field->contentTypes); |
185 | 185 | |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | ->orderBy('duration ASC') |
195 | 195 | ->all(); |
196 | 196 | |
197 | - $next = array_map(function ($c) use ($field) { |
|
197 | + $next = array_map(function($c) use ($field) { |
|
198 | 198 | return [ |
199 | 199 | 'id' => $c->id, |
200 | 200 | 'data' => $field->mergeData($c->getData()), |