@@ -32,7 +32,7 @@ |
||
32 | 32 | $query->setLimit(15); |
33 | 33 | $indices = $query->execute()->toArray(); |
34 | 34 | |
35 | - return array_map(function (Index $index) { |
|
35 | + return array_map(function(Index $index) { |
|
36 | 36 | try { |
37 | 37 | /** @var StandaloneView $standaloneView */ |
38 | 38 | $standaloneView = GeneralUtility::makeInstance(StandaloneView::class); |
@@ -121,11 +121,11 @@ |
||
121 | 121 | $record = BackendUtility::getRecord($tableName, $uid); |
122 | 122 | if (0 === (int)($record['t3ver_oid'] ?? 0)) { |
123 | 123 | $versions = BackendUtility::selectVersionsOfRecord($tableName, $uid, 'uid', null); |
124 | - $ids = array_map(function ($row) { |
|
124 | + $ids = array_map(function($row) { |
|
125 | 125 | return (int)$row['uid']; |
126 | 126 | }, $versions); |
127 | 127 | |
128 | - $ids = array_filter($ids, function ($id) use ($uid) { |
|
128 | + $ids = array_filter($ids, function($id) use ($uid) { |
|
129 | 129 | return $id !== $uid; |
130 | 130 | }); |
131 | 131 |