src/Support/Http/LeagueUrlParameteriser.php
public function appendParametersToUrl(array $parameters, $url)
    {
        if (strpos($url, '//') === false) {
            $url = 'dummy.host/' . ltrim($url, '/');
        }

        $leagueUrl = Url::createFromUrl($url);

        $leagueUrl->getQuery()->modify($parameters);

        return $this->stripParameterArrayBrackets($leagueUrl->getRelativeUrl());
    }
public function appendParametersToUrl(array $parameters, $url)
    {
        if (strpos($url, '//') === false) {
            $url = 'dummy.host/' . ltrim($url, '/');
        }

        $leagueUrl = Url::createFromUrl($url);

        $leagueUrl->getQuery()->modify($parameters);

        return $this->stripParameterArrayBrackets($leagueUrl->getRelativeUrl());
    }
@param string $url
@param array  $parameters

@return string