Completed
Push — master ( 7e3ac8...e22e2b )
by Tim
17s queued 14s
created
Classes/Service/IndexPreparationService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $workspace = isset($record['t3ver_wsid']) ? (int)$record['t3ver_wsid'] : 0;
74 74
         $origId = isset($record['t3ver_oid']) ? (int)$record['t3ver_oid'] : 0;
75
-        $neededItems = array_map(static function ($item) use ($workspace, $origId, $record) {
75
+        $neededItems = array_map(static function($item) use ($workspace, $origId, $record) {
76 76
             $item['t3ver_wsid'] = $workspace;
77 77
             // Set relation to the original record
78 78
             if ($workspace) {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
                     ->executeQuery();
118 118
 
119 119
                 if ($result->rowCount() > 1) {
120
-                    throw new \RuntimeException('Multiple records found for original language record of index '.$record['uid']);
120
+                    throw new \RuntimeException('Multiple records found for original language record of index ' . $record['uid']);
121 121
                 }
122 122
 
123 123
                 $originalLanguageRecord = $result->fetchAssociative();
Please login to merge, or discard this patch.