Passed
Branch master (828252)
by Omar El
04:00
created
app/Exceptions/Handler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Illuminate\Database\Eloquent\ModelNotFoundException;
9 9
 use Symfony\Component\HttpKernel\Exception\HttpException;
10 10
 use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
11
-
12 11
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
13 12
 use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException;
14 13
 
Please login to merge, or discard this patch.
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/Http/Controllers/PostCommentController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 use App\Post;
4 4
 use App\Comment;
5
-
6 5
 use Illuminate\Http\Request;
7 6
 
8 7
 class PostCommentController extends Controller{
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
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace App\Http\Controllers;
2 2
 
3 3
 use App\Post;
4
-
5 4
 use Illuminate\Http\Request;
6 5
 
7 6
 class PostController extends Controller{
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
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php namespace App\Http\Controllers;
2 2
 
3 3
 use App\User;
4
-
5 4
 use Illuminate\Http\Request;
6 5
 use Illuminate\Support\Facades\Hash;
7 6
 
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.