@@ -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); |
@@ -138,11 +138,11 @@ |
||
138 | 138 | $record = BackendUtility::getRecord($tableName, $uid); |
139 | 139 | if (0 === (int)($record['t3ver_oid'] ?? 0)) { |
140 | 140 | $versions = (array)BackendUtility::selectVersionsOfRecord($tableName, $uid, 'uid', null); |
141 | - $ids = array_map(function ($row) { |
|
141 | + $ids = array_map(function($row) { |
|
142 | 142 | return (int)$row['uid']; |
143 | 143 | }, $versions); |
144 | 144 | |
145 | - $ids = array_filter($ids, function ($id) use ($uid) { |
|
145 | + $ids = array_filter($ids, function($id) use ($uid) { |
|
146 | 146 | return $id !== $uid; |
147 | 147 | }); |
148 | 148 |