1
0
Prechádzať zdrojové kódy

Merge pull request #10 from Vugario/with-header-return-this

withHeader method did not return the current instance.
Jan Oris 10 rokov pred
rodič
commit
7549fb1117
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      src/Ixudra/Curl/Builder.php

+ 2 - 0
src/Ixudra/Curl/Builder.php

@@ -116,6 +116,8 @@ class Builder {
     public function withHeader($header)
     {
         $this->curlOptions[ 'HTTPHEADER' ][] = $header;
+
+        return $this;
     }
 
     /**