@@ -85,7 +85,7 @@ |
||
85 | 85 | { |
86 | 86 | static $tables; |
87 | 87 | if (!\is_array($tables)) { |
88 | - $tables = array_map(function ($config) { |
|
88 | + $tables = array_map(function($config) { |
|
89 | 89 | return $config['tableName']; |
90 | 90 | }, GeneralUtility::makeInstance(Register::class)->getRegister()); |
91 | 91 | } |
@@ -137,12 +137,12 @@ discard block |
||
137 | 137 | protected function processEvent(EventRepository $repository, Event $model, $modus) |
138 | 138 | { |
139 | 139 | // define the function for the delete-modus. |
140 | - $delete = function ($repository, $model) { |
|
140 | + $delete = function($repository, $model) { |
|
141 | 141 | $repository->remove($model); |
142 | 142 | }; |
143 | 143 | |
144 | 144 | // define the function for the hide-modus. |
145 | - $hide = function ($repository, $model) { |
|
145 | + $hide = function($repository, $model) { |
|
146 | 146 | $model->setHidden(true); |
147 | 147 | $repository->update($model); |
148 | 148 | }; |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | ->execute() |
205 | 205 | ->fetchAll(); |
206 | 206 | |
207 | - $foreignUids = array_map(function ($item) { |
|
207 | + $foreignUids = array_map(function($item) { |
|
208 | 208 | return (int)$item['foreign_uid']; |
209 | 209 | }, $foreignUids); |
210 | 210 |
@@ -65,7 +65,7 @@ |
||
65 | 65 | |
66 | 66 | $actions = $this->flexFormService->get('switchableControllerActions', 'main'); |
67 | 67 | $parts = GeneralUtility::trimExplode(';', $actions, true); |
68 | - $parts = array_map(function ($element) { |
|
68 | + $parts = array_map(function($element) { |
|
69 | 69 | $split = explode('->', $element); |
70 | 70 | |
71 | 71 | return ucfirst($split[1]); |
@@ -214,8 +214,8 @@ |
||
214 | 214 | } elseif (\is_string($key) && \is_int($indexId)) { |
215 | 215 | // Table based single return value |
216 | 216 | $tabledIndexIds[] = [ |
217 | - 'table' => $key, |
|
218 | - 'indexIds' => [$indexId], |
|
217 | + 'table' => $key, |
|
218 | + 'indexIds' => [$indexId], |
|
219 | 219 | ]; |
220 | 220 | } |
221 | 221 | } |