| @@ -125,6 +125,7 @@ discard block | ||
| 125 | 125 | |
| 126 | 126 | /** | 
| 127 | 127 | * @inheritdoc | 
| 128 | + * @param string $name | |
| 128 | 129 | */ | 
| 129 | 130 |      public function addHeader($name, $value){ | 
| 130 | 131 | $token = $name.": ".$value; | 
| @@ -158,6 +159,7 @@ discard block | ||
| 158 | 159 | |
| 159 | 160 | /** | 
| 160 | 161 | * @inheritdoc | 
| 162 | + * @param string $body | |
| 161 | 163 | */ | 
| 162 | 164 |      public function setBody($body){ | 
| 163 | 165 | $this->body = $body; | 
| @@ -226,10 +226,10 @@ | ||
| 226 | 226 | */ | 
| 227 | 227 |      protected function configureType(){ | 
| 228 | 228 |          switch ($this->type) { | 
| 229 | - case 'POST': | |
| 229 | + case 'POST': | |
| 230 | 230 | $this->setOption(CURLOPT_POST, TRUE); | 
| 231 | 231 | break; | 
| 232 | - case 'DELETE': | |
| 232 | + case 'DELETE': | |
| 233 | 233 | case 'PUT': | 
| 234 | 234 | $this->setOption(CURLOPT_CUSTOMREQUEST, $this->type); | 
| 235 | 235 | break; |