Completed
Push — master ( e30674...1d5e5c )
by Omar El
07:28
created
app/Http/Controllers/Controller.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Return a JSON response for error.
23 23
      *
24
-     * @param  array  $data
25 24
      * @param  string $code
26 25
      * @return \Illuminate\Http\JsonResponse
27 26
      */
@@ -33,7 +32,7 @@  discard block
 block discarded – undo
33 32
      * Check if the user is authorized to perform a given action on a resource.
34 33
      *
35 34
      * @param  \Illuminate\Http\Request  $request
36
-     * @param  array $resource
35
+     * @param  string $resource
37 36
      * @param  mixed|array $arguments
38 37
      * @return boolean
39 38
      * @see    https://lumen.laravel.com/docs/authorization 
@@ -67,9 +66,6 @@  discard block
 block discarded – undo
67 66
      * Get current authorized user id.
68 67
      * This method should be called only after validating the access token using OAuthMiddleware Middleware.
69 68
      *
70
-     * @param  \Illuminate\Http\Request  $request
71
-     * @param  array $resource
72
-     * @param  array $data
73 69
      * @return boolean
74 70
      * 
75 71
      * @throws LucaDegasperi\OAuth2Server\Exceptions\NoActiveAccessTokenException
Please login to merge, or discard this patch.