@@ -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; |