Passed
Push — master ( 7d362e...62822e )
by Omar El
02:41
created
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/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/Http/Controllers/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Check if the user is authorized to perform a given action on a resource.
36 36
      *
37 37
      * @param  \Illuminate\Http\Request  $request
38
-     * @param  array $resource
38
+     * @param  string $resource
39 39
      * @param  mixed|array $arguments
40 40
      * @return boolean
41 41
      * @see    https://lumen.laravel.com/docs/authorization 
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
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Illuminate\Database\Eloquent\ModelNotFoundException;
9 9
 use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
10 10
 use Symfony\Component\HttpKernel\Exception\HttpException;
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/PostController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use App\Post;
6
-
7 6
 use Illuminate\Http\Request;
8 7
 
9 8
 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
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use App\User;
6
-
7 6
 use Illuminate\Http\Request;
8 7
 use Illuminate\Support\Facades\Hash;
9 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.