File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ private function extractFileIdsFromTask(Task $task): array {
285285 /** @var int|list<int> $inputSlot */
286286 $ inputSlot = $ task ->getInput ()[$ key ];
287287 if (is_array ($ inputSlot )) {
288- $ ids += $ inputSlot ;
288+ $ ids = array_merge ( $ inputSlot, $ ids ) ;
289289 } else {
290290 $ ids [] = $ inputSlot ;
291291 }
@@ -297,14 +297,14 @@ private function extractFileIdsFromTask(Task $task): array {
297297 /** @var int|list<int> $outputSlot */
298298 $ outputSlot = $ task ->getOutput ()[$ key ];
299299 if (is_array ($ outputSlot )) {
300- $ ids += $ outputSlot ;
300+ $ ids = array_merge ( $ outputSlot, $ ids ) ;
301301 } else {
302302 $ ids [] = $ outputSlot ;
303303 }
304304 }
305305 }
306306 }
307- return array_values ( $ ids) ;
307+ return $ ids ;
308308 }
309309
310310 /**
You can’t perform that action at this time.
0 commit comments