protected function mergeParams($method, Array $params = [])
    {
        $mergedParams = array_merge($this->defaultParams, $params);
        $newParams = [$method => $mergedParams];

        return $newParams;
    }
protected function mergeParams($method, Array $params = [])
    {
        $mergedParams = array_merge($this->defaultParams, $params);
        $newParams = [$method => $mergedParams];

        return $newParams;
    }
protected function mergeParams ( $ method , Array $ params = [ ] ) { $ mergedParams = array_merge ( $ this -> defaultParams , $ params ) ; $ newParams = [ $ method => $ mergedParams ] ; return $ newParams ; }
Default way to merge params

@param       $method
@param array $params

@return array
Default way to merge params