@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | protected function loadContentTypeGroupsByIdentifiers(array $identifiers) |
306 | 306 | { |
307 | 307 | $contentTypeGroups = array_map( |
308 | - function ($identifier) { |
|
308 | + function($identifier) { |
|
309 | 309 | try { |
310 | 310 | return $this->contentTypeService->loadContentTypeGroupByIdentifier($identifier); |
311 | 311 | } catch (NotFoundException $notFoundException) { |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | |
347 | 347 | // Get identifiers of current contenttypegroups |
348 | 348 | $currentContentTypeGroupIdentifiers = array_map( |
349 | - function (ContentTypeGroup $contentTypeGroup) { |
|
349 | + function(ContentTypeGroup $contentTypeGroup) { |
|
350 | 350 | return $contentTypeGroup->identifier; |
351 | 351 | }, |
352 | 352 | $contentType->getContentTypeGroups() |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | ->prototype('scalar')->end() |
23 | 23 | ->beforeNormalization() |
24 | 24 | ->ifString() |
25 | - ->then(function ($v) { return array('eng-GB' => $v); }) |
|
25 | + ->then(function($v) { return array('eng-GB' => $v); }) |
|
26 | 26 | ->end() |
27 | 27 | ->end() |
28 | 28 | ->arrayNode('descriptions') |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | ->prototype('scalar')->end() |
31 | 31 | ->beforeNormalization() |
32 | 32 | ->ifString() |
33 | - ->then(function ($v) { return array('eng-GB' => $v); }) |
|
33 | + ->then(function($v) { return array('eng-GB' => $v); }) |
|
34 | 34 | ->end() |
35 | 35 | ->end() |
36 | 36 | ->scalarNode('main_language_code') |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | ->defaultValue(array('Content')) |
42 | 42 | ->beforeNormalization() |
43 | 43 | ->ifString() |
44 | - ->then(function ($v) { return array(ucfirst($v)); }) |
|
44 | + ->then(function($v) { return array(ucfirst($v)); }) |
|
45 | 45 | ->end() |
46 | 46 | ->end() |
47 | 47 | ->scalarNode('name_schema')->end() |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | ->normalizeKeys(false) |
76 | 76 | ->beforeNormalization() |
77 | 77 | ->ifString() |
78 | - ->then(function ($v) { return array('eng-GB' => $v); }) |
|
78 | + ->then(function($v) { return array('eng-GB' => $v); }) |
|
79 | 79 | ->end() |
80 | 80 | ->prototype('scalar')->end() |
81 | 81 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | ->prototype('scalar')->end() |
86 | 86 | ->beforeNormalization() |
87 | 87 | ->ifString() |
88 | - ->then(function ($v) { return array('eng-GB' => $v); }) |
|
88 | + ->then(function($v) { return array('eng-GB' => $v); }) |
|
89 | 89 | ->end() |
90 | 90 | ->end() |
91 | 91 | ->scalarNode('field_group') |