Completed
Push — master ( 828252...e30674 )
by Omar El
02:51
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.
app/Listeners/ExampleListener.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Listeners;
4 4
 
5 5
 use App\Events\ExampleEvent;
6
-use Illuminate\Queue\InteractsWithQueue;
7
-use Illuminate\Contracts\Queue\ShouldQueue;
8 6
 
9 7
 class ExampleListener
10 8
 {
Please login to merge, or discard this patch.
app/User.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
9 9
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
10
-
11 10
 use Illuminate\Support\Facades\Hash;
12 11
 
13 12
 class User extends Model implements AuthenticatableContract, AuthorizableContract{
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
9 9
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
10
-
11 10
 use Illuminate\Support\Facades\Hash;
12 11
 
13 12
 class User extends Model implements AuthenticatableContract, AuthorizableContract{
Please login to merge, or discard this patch.
app/Http/Controllers/PostCommentController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
9 9
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
10
-
11 10
 use Illuminate\Support\Facades\Hash;
12 11
 
13 12
 class User extends Model implements AuthenticatableContract, AuthorizableContract{
Please login to merge, or discard this patch.
app/Http/Controllers/PostController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
9 9
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
10
-
11 10
 use Illuminate\Support\Facades\Hash;
12 11
 
13 12
 class User extends Model implements AuthenticatableContract, AuthorizableContract{
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
9 9
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
10
-
11 10
 use Illuminate\Support\Facades\Hash;
12 11
 
13 12
 class User extends Model implements AuthenticatableContract, AuthorizableContract{
Please login to merge, or discard this patch.