mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
fix(taskprocessing): Update lib/private/TaskProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
9306ddeb69
commit
6363437ccb
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue