Completed
Push — master ( e792c1...df17fb )
by claudio
03:48
created
app/Http/Controllers/Employees/Auth/AuthController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use plunner\Http\Controllers\Controller;
10 10
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
11 11
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
12
-use Log;
13 12
 
14 13
 class AuthController extends Controller
15 14
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/GroupsController.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 plunner\Http\Controllers\Employees;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use plunner\Http\Requests;
8 6
 use plunner\Http\Controllers\Controller;
9 7
 
10 8
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/ExampleController.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 plunner\Http\Controllers\Employees;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use plunner\Http\Requests;
8 6
 use plunner\Http\Controllers\Controller;
9 7
 
10 8
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/EmployeesController.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 plunner\Http\Controllers\Employees;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use plunner\Http\Requests;
8 6
 use plunner\Http\Controllers\Controller;
9 7
 
10 8
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Http/Middleware/GetUserAndRefresh.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use plunner\Http\Controllers\Controller;
10 10
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
11 11
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
12
-use Log;
13 12
 
14 13
 class AuthController extends Controller
15 14
 {
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
         $custom = $this->convertToArray($custom);
24 24
         Debug::info('headers: '.implode('-',$request->all()));
25 25
         if($token = $this->auth->setRequest($request)->getToken()) {
26
-        }else if ($this->auth->getUserModel()){
26
+        } else if ($this->auth->getUserModel()){
27 27
             $token = $this->auth->fromUser($this->auth->getUserModel(), $custom);
28
-        }else {
28
+        } else {
29 29
             return $this->respond('tymon.jwt.absent', 'token_not_provided', 401);
30 30
         }
31 31
 
Please login to merge, or discard this patch.