Completed
Branch master (23ece5)
by Matthew
02:31
created
src/Api.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
      * Internal method for handling all requests
113 113
      *
114 114
      * @internal
115
-     * @param $method
116
-     * @param $endpoint
115
+     * @param string $method
116
+     * @param string $endpoint
117 117
      * @param array|null $data
118 118
      * @param array|null $query
119 119
      * @return mixed|null
@@ -200,6 +200,7 @@  discard block
 block discarded – undo
200 200
      *
201 201
      * @internal
202 202
      * @param null $id
203
+     * @param string $endPoint
203 204
      * @return string
204 205
      */
205 206
     public function createEndpoint($endPoint, $id = null)
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,7 @@
 block discarded – undo
149 149
                 default:
150 150
                     return null;
151 151
             }
152
-        }
153
-        catch (RequestException $e) {
152
+        } catch (RequestException $e) {
154 153
             throw $this->handleException($e);
155 154
         }
156 155
     }
Please login to merge, or discard this patch.