Completed
Pull Request — master (#631)
by
unknown
35s
created
Classes/Service/IndexerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
 
196 196
         if ($workspace) {
197 197
             // Placeholder are respect in function updateIndex
198
-            $currentItems = array_filter($currentItems, function ($item) {
198
+            $currentItems = array_filter($currentItems, function($item) {
199 199
                 return VersionState::DELETE_PLACEHOLDER !== $item['t3ver_state'];
200 200
             });
201 201
         }
Please login to merge, or discard this patch.
Classes/Service/IndexPreparationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     {
85 85
         $workspace = isset($record['t3ver_wsid']) ? (int)$record['t3ver_wsid'] : 0;
86 86
         $origId = isset($record['t3ver_oid']) ? (int)$record['t3ver_oid'] : 0;
87
-        $neededItems = array_map(function ($item) use ($workspace, $origId, $record) {
87
+        $neededItems = array_map(function($item) use ($workspace, $origId, $record) {
88 88
             $item['t3ver_wsid'] = $workspace;
89 89
             // Set relation to the original record
90 90
             if ($workspace) {
Please login to merge, or discard this patch.
Classes/Typolink/DatabaseRecordLinkBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
             $indexUid = $this->getIndexForEventUid($linkDetails['identifier'], $eventId);
33 33
 
34
-            if(!$indexUid){
34
+            if (!$indexUid) {
35 35
                 $conf['parameter'] = 0;
36 36
                 $linkDetails = [];
37 37
                 return parent::build($linkDetails, $linkText, $target, $conf);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         static $tables;
102 102
         if (!\is_array($tables)) {
103
-            $tables = array_map(function ($config) {
103
+            $tables = array_map(function($config) {
104 104
                 return $config['tableName'];
105 105
             }, GeneralUtility::makeInstance(Register::class)->getRegister());
106 106
         }
Please login to merge, or discard this patch.