Completed
Pull Request — master (#766)
by
unknown
63:35
created
src/Authorizer.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,10 +130,10 @@  discard block
 block discarded – undo
130 130
     /**
131 131
      * Get a single parameter from the auth code request parameters.
132 132
      *
133
-     * @param $key
133
+     * @param string $key
134 134
      * @param null $default
135 135
      *
136
-     * @return mixed
136
+     * @return string
137 137
      */
138 138
     public function getAuthCodeRequestParam($key, $default = null)
139 139
     {
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      * @param bool $httpHeadersOnly whether or not to check only the http headers of the request
217 217
      * @param string|null $accessToken an access token to validate
218 218
      *
219
-     * @return mixed
219
+     * @return boolean
220 220
      */
221 221
     public function validateAccessToken($httpHeadersOnly = false, $accessToken = null)
222 222
     {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * get the scopes associated with the current request.
228 228
      *
229
-     * @return array
229
+     * @return \League\OAuth2\Server\Entity\ScopeEntity[]
230 230
      */
231 231
     public function getScopes()
232 232
     {
Please login to merge, or discard this patch.
src/Storage/FluentAccessToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @param string $token The access token
46 46
      *
47
-     * @return null|AbstractTokenEntity
47
+     * @return null|AccessTokenEntity
48 48
      */
49 49
     public function get($token)
50 50
     {
Please login to merge, or discard this patch.
src/Storage/FluentClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      * @param string $id The client's unique id
156 156
      * @param string $secret The clients' unique secret
157 157
      *
158
-     * @return string
158
+     * @return integer
159 159
      */
160 160
     public function create($name, $id, $secret)
161 161
     {
Please login to merge, or discard this patch.