diff options
Diffstat (limited to 'lib/private/TaskProcessing/Manager.php')
-rw-r--r-- | lib/private/TaskProcessing/Manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php index c0ca1b66b49..40ad33d5929 100644 --- a/lib/private/TaskProcessing/Manager.php +++ b/lib/private/TaskProcessing/Manager.php @@ -556,8 +556,8 @@ class Manager implements IManager { * @return array<array-key, list<numeric|string>|numeric|string> */ public function fillInputDefaults(array $input, ...$defaultSpecs): array { - $spec = array_reduce($defaultSpecs, fn ($carry, $spec) => $carry + $spec, []); - return $spec + $input; + $spec = array_reduce($defaultSpecs, fn ($carry, $spec) => array_merge($carry, $spec), []); + return array_merge($spec, $input); } /** |