src/Argument/VariadicArgumentOrganiser.php
public function organiseArguments(ReflectionFunctionAbstract $function, array $arguments): array
    {
        $organisedArguments = $this->decoratedArgumentOrganiser->organiseArguments($function, $arguments);

        if ($function->isVariadic()) {
            $organisedArguments += array_diff($arguments, $organisedArguments);
        }

        return $organisedArguments;
    }
public function organiseArguments(ReflectionFunctionAbstract $function, array $arguments): array
    {
        $organisedArguments = $this->decoratedArgumentOrganiser->organiseArguments($function, $arguments);

        if ($function->isVariadic()) {
            $organisedArguments += array_diff($arguments, $organisedArguments);
        }

        return $organisedArguments;
    }
{@inheritdoc}