Completed
Push — master ( 8bfe8a...81ce2b )
by Lucas
03:13
created
src/Client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
      * Set the token passed as the default token. A default token can
143 143
      * also be set using the `token` key in the constructor options.
144 144
      *
145
-     * @param AccessToken $token The token to set
145
+     * @param AccessToken|null $token The token to set
146 146
      * @return AccessToken The {@link https://goo.gl/QEoCNV access token}
147 147
      */
148 148
     public function setToken(AccessToken $token)
Please login to merge, or discard this patch.
src/ClientBase.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Requests an access token using a refresh token
113 113
      *
114
-     * @param AccessToken $token A previously generated token
114
+     * @param AccessToken|null $token A previously generated token
115 115
      * @return AccessToken The {@link https://goo.gl/QEoCNV access token}
116 116
      */
117 117
     public function refresh(AccessToken $token)
@@ -173,6 +173,8 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Sends the request and returns the parsed response.
175 175
      *
176
+     * @param string $method
177
+     * @param string $path
176 178
      * @return array The parsed response
177 179
      */
178 180
     public function getResponse($method, $path, array $query = [], array $data = [])
Please login to merge, or discard this patch.