Completed
Push — develop ( 076ebf...383f21 )
by Jamie
02:55 queued 54s
created
src/Eventbrite.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
     /**
164 164
      * Checks if the HTTP method being used is correct.
165 165
      *
166
-     * @param $http_method
166
+     * @param string $http_method
167 167
      *
168 168
      * @return bool
169 169
      */
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -242,8 +242,7 @@
 block discarded – undo
242 242
         if ($this->validMethod($method)) {
243 243
             array_unshift($args, $method);
244 244
             return call_user_func_array(array($this, 'makeRequest'), $args);
245
-        }
246
-        else {
245
+        } else {
247 246
             throw new \BadMethodCallException('Method not found in class.');
248 247
         }
249 248
     }
Please login to merge, or discard this patch.