@@ -468,7 +468,7 @@ |
||
468 | 468 | } |
469 | 469 | } |
470 | 470 | // sort providers |
471 | - uasort($providers, function ($a, $b) { |
|
471 | + uasort($providers, function($a, $b) { |
|
472 | 472 | return $b['sorting'] - $a['sorting']; |
473 | 473 | }); |
474 | 474 | $this->loginProviders = $providers; |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | // check for required options being set |
67 | 67 | array_walk( |
68 | 68 | $this->supportedOptions, |
69 | - function ($supportedOptionData, $supportedOptionName, $options) { |
|
69 | + function($supportedOptionData, $supportedOptionName, $options) { |
|
70 | 70 | if (isset($supportedOptionData[3]) && $supportedOptionData[3] === true && !array_key_exists($supportedOptionName, $options)) { |
71 | 71 | throw new InvalidValidationOptionsException('Required validation option not set: ' . $supportedOptionName, 1379981891); |
72 | 72 | } |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | // merge with default values |
78 | 78 | $this->options = array_merge( |
79 | 79 | array_map( |
80 | - function ($value) { |
|
80 | + function($value) { |
|
81 | 81 | return $value[0]; |
82 | 82 | }, |
83 | 83 | $this->supportedOptions |
@@ -210,7 +210,7 @@ |
||
210 | 210 | if ($sortingProperty !== '' && count($this->files) > 1) { |
211 | 211 | @usort( |
212 | 212 | $this->files, |
213 | - function ( |
|
213 | + function( |
|
214 | 214 | FileInterface $a, |
215 | 215 | FileInterface $b |
216 | 216 | ) use ($sortingProperty) { |
@@ -228,7 +228,7 @@ |
||
228 | 228 | } |
229 | 229 | } |
230 | 230 | |
231 | - uasort($allowedStages, function (StageRecord $first, StageRecord $second) { |
|
231 | + uasort($allowedStages, function(StageRecord $first, StageRecord $second) { |
|
232 | 232 | return $first->determineOrder($second); |
233 | 233 | }); |
234 | 234 | return $this->prepareStagesArray($allowedStages); |
@@ -166,7 +166,7 @@ |
||
166 | 166 | $connection = $connectionPool->getConnectionByName($connectionName); |
167 | 167 | $tablesOnConnection = array_keys(array_filter( |
168 | 168 | $tableMap, |
169 | - function ($value) use ($connectionName) { |
|
169 | + function($value) use ($connectionName) { |
|
170 | 170 | return $value === $connectionName; |
171 | 171 | } |
172 | 172 | )); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | if (!is_array($pageIdsToClear)) { |
68 | 68 | $pageIdsToClear = [(int)$pageIdsToClear]; |
69 | 69 | } |
70 | - $tags = array_map(function ($item) { |
|
70 | + $tags = array_map(function($item) { |
|
71 | 71 | return 'pageId_' . $item; |
72 | 72 | }, $pageIdsToClear); |
73 | 73 | $this->cacheManager->flushCachesInGroupByTags('pages', $tags); |
@@ -271,7 +271,7 @@ |
||
271 | 271 | $fieldPaths[] = [$firstLevelFieldName]; |
272 | 272 | } else { |
273 | 273 | $newFieldPaths = $this->calculateFieldPaths($fieldInformation['error'], $firstLevelFieldName); |
274 | - array_walk($newFieldPaths, function (&$value, $key) { |
|
274 | + array_walk($newFieldPaths, function(&$value, $key) { |
|
275 | 275 | $value = explode('/', $value); |
276 | 276 | }); |
277 | 277 | $fieldPaths = array_merge($fieldPaths, $newFieldPaths); |
@@ -69,14 +69,14 @@ |
||
69 | 69 | |
70 | 70 | $html = []; |
71 | 71 | $html[] = '<div class="formengine-field-item t3js-formengine-field-item">'; |
72 | - $html[] = $fieldInformationHtml; |
|
73 | - $html[] = '<div class="form-wizards-wrap">'; |
|
74 | - $html[] = '<div class="form-wizards-element">'; |
|
75 | - $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
76 | - $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
77 | - $html[] = '</div>'; |
|
78 | - $html[] = '</div>'; |
|
79 | - $html[] = '</div>'; |
|
72 | + $html[] = $fieldInformationHtml; |
|
73 | + $html[] = '<div class="form-wizards-wrap">'; |
|
74 | + $html[] = '<div class="form-wizards-element">'; |
|
75 | + $html[] = '<div class="form-control-wrap" style="max-width: ' . $width . 'px">'; |
|
76 | + $html[] = '<input class="form-control" value="' . htmlspecialchars($itemValue) . '" type="text" disabled>'; |
|
77 | + $html[] = '</div>'; |
|
78 | + $html[] = '</div>'; |
|
79 | + $html[] = '</div>'; |
|
80 | 80 | $html[] = '</div>'; |
81 | 81 | |
82 | 82 | $resultArray['html'] = implode(LF, $html); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | // Remove any item that is not an array (means, the stored uid is not available anymore) |
99 | - $mostRecentUsers = array_filter($mostRecentUsers, function ($record) { |
|
99 | + $mostRecentUsers = array_filter($mostRecentUsers, function($record) { |
|
100 | 100 | return is_array($record); |
101 | 101 | }); |
102 | 102 |