private function mergeParameters(array $rootParameters, array $parameters = []): array
    {
        foreach ($parameters as $key => $value) {
            if (\is_int($key) && ! isset($rootParameters[$key])) {
                $rootParameters[$key] = $value;
            }
        }

        return $rootParameters;
    }
private function mergeParameters(array $rootParameters, array $parameters = []): array
    {
        foreach ($parameters as $key => $value) {
            if (\is_int($key) && ! isset($rootParameters[$key])) {
                $rootParameters[$key] = $value;
            }
        }

        return $rootParameters;
    }
private function mergeParameters ( array $ rootParameters , array $ parameters = [ ] ) : array { foreach ( $ parameters as $ key => $ value ) { if ( \ is_int ( $ key ) && ! isset ( $ rootParameters [ $ key ] ) ) { $ rootParameters [ $ key ] = $ value ; } } return $ rootParameters ; }
Merge some dynamically resolved parameters with some others provided parameters by the user.

@param array $rootParameters
@param array $parameters

@return array
Merge some dynamically resolved parameters with some others provided parameters by the user .