Passed
Push — master ( 50d8c4...2d01cb )
by Mike
03:46
created
src/Request/Abstracts/AbstractRequest.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
158 159
 
159 160
     /**
160 161
      * @inheritdoc
162
+     * @param string $body
161 163
      */
162 164
     public function setBody($body){
163 165
         $this->body = $body;
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,10 +226,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.