protected function mergeDefaultParameters(array $parameters): array
    {
        $request = $this->getCurrentRequest();

        $defaultParameters = ['version' => '1.0'];
        $defaultParameters['headers'] = ['Referer' => $request->getUri()];

        return array_replace_recursive($defaultParameters, $parameters);
    }
protected function mergeDefaultParameters(array $parameters): array
    {
        $request = $this->getCurrentRequest();

        $defaultParameters = ['version' => '1.0'];
        $defaultParameters['headers'] = ['Referer' => $request->getUri()];

        return array_replace_recursive($defaultParameters, $parameters);
    }
protected function mergeDefaultParameters ( array $ parameters ) : array { $ request = $ this -> getCurrentRequest ( ) ; $ defaultParameters = [ 'version' => '1.0' ] ; $ defaultParameters [ 'headers' ] = [ 'Referer' => $ request -> getUri ( ) ] ; return array_replace_recursive ( $ defaultParameters , $ parameters ) ; }
Merge default parameters.
Merge default parameters .