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 @@ -378,7 +378,7 @@ private function extractFileIdsFromTask(Task $task): array {
378378 /** @var int|list<int> $inputSlot */
379379 $ inputSlot = $ task ->getInput ()[$ key ];
380380 if (is_array ($ inputSlot )) {
381- $ ids += $ inputSlot ;
381+ $ ids = array_merge ( $ inputSlot, $ ids ) ;
382382 } else {
383383 $ ids [] = $ inputSlot ;
384384 }
@@ -390,14 +390,14 @@ private function extractFileIdsFromTask(Task $task): array {
390390 /** @var int|list<int> $outputSlot */
391391 $ outputSlot = $ task ->getOutput ()[$ key ];
392392 if (is_array ($ outputSlot )) {
393- $ ids += $ outputSlot ;
393+ $ ids = array_merge ( $ outputSlot, $ ids ) ;
394394 } else {
395395 $ ids [] = $ outputSlot ;
396396 }
397397 }
398398 }
399399 }
400- return array_values ( $ ids) ;
400+ return $ ids ;
401401 }
402402
403403 /**
You can’t perform that action at this time.
0 commit comments