@@ -72,7 +72,7 @@ discard block |
||
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 |
||
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(); |