@@ -226,13 +226,13 @@ class Client
226226     * @param bool   $verifySSLCerts Set default verify certificates flag 
227227     */ 
228228    public  function  __construct (
229-         string   $ host
230-         ? array   $ headersnull ,
231-         ? string   $ versionnull ,
232-         ? array   $ pathnull ,
233-         ? array   $ curlOptionsnull ,
234-         bool   $ retryOnLimitfalse ,
235-         bool   $ verifySSLCertstrue 
229+         $ host
230+         $ headersnull ,
231+         $ versionnull ,
232+         $ pathnull ,
233+         $ curlOptionsnull ,
234+         $ retryOnLimitfalse ,
235+         $ verifySSLCertstrue 
236236    ) {
237237        $ this host  = $ host
238238        $ this headers  = $ headers
@@ -364,7 +364,7 @@ public function setIsConcurrentRequest($isConcurrent)
364364     * 
365365     * @return string 
366366     */ 
367-     private  function  buildUrl (? array   $ queryParamsnull )
367+     private  function  buildUrl ($ queryParamsnull )
368368    {
369369        $ path'/ '  . implode ('/ ' , $ this path );
370370        if  (isset ($ queryParams
@@ -380,12 +380,12 @@ private function buildUrl(?array $queryParams = null)
380380     * this function does not mutate any private variables. 
381381     * 
382382     * @param string $method 
383-      * @param array   $body 
383+      * @param $body 
384384     * @param array  $headers 
385385     * 
386386     * @return array 
387387     */ 
388-     private  function  createCurlOptions ($ method? array   $ bodynull , ? array  $ headersnull )
388+     private  function  createCurlOptions ($ method$ bodynull , $ headersnull )
389389    {
390390        $ options
391391                CURLOPT_RETURNTRANSFER  => true ,
@@ -508,7 +508,7 @@ private function retryRequest(array $responseHeaders, $method, $url, $body, $hea
508508     * 
509509     * @throws InvalidRequest 
510510     */ 
511-     public  function  makeRequest ($ method$ url? array   $ bodynull , ? array  $ headersnull , $ retryOnLimitfalse )
511+     public  function  makeRequest ($ method$ url$ bodynull , $ headersnull , $ retryOnLimitfalse )
512512    {
513513        $ channelcurl_init ($ url
514514
@@ -604,7 +604,7 @@ public function makeAllRequests(array $requests = [])
604604     * 
605605     * @return Client object 
606606     */ 
607-     public  function  _ (? string   $ namenull )
607+     public  function  _ ($ namenull )
608608    {
609609        if  (isset ($ name
610610            $ this path [] = $ name
0 commit comments