Completed
Push — master ( ac3a6a...7c224e )
by claudio
05:11
created
app/Http/Controllers/Companies/Auth/AuthController.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace plunner\Http\Controllers\Companies\Auth;
4 4
 
5
-use plunner\Company;
6
-use Validator;
7
-use plunner\Http\Controllers\Controller;
8 5
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
9 6
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
7
+use Validator;
8
+use plunner\Company;
9
+use plunner\Http\Controllers\Controller;
10 10
 
11 11
 class AuthController extends Controller
12 12
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/Employees/EmployeesController.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
 namespace plunner\Http\Controllers\Companies\Employees;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use plunner\Company;
7 6
 use plunner\Employee;
8 7
 use plunner\Http\Controllers\Controller;
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/ExampleController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use plunner\Http\Requests;
8
-use plunner\Http\Controllers\Controller;
9 7
 use Tymon\JWTAuth\Facades\JWTAuth;
8
+use plunner\Http\Controllers\Controller;
10 9
 
11 10
 class ExampleController extends Controller
12 11
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Auth/AuthController.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,13 +3,12 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Employees\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use plunner\Company;
7
-use plunner\employee;
8
-use Validator;
9
-use plunner\Http\Controllers\Controller;
10 6
 use Tymon\JWTAuth\Support\auth\AuthenticatesAndRegistersUsers;
11 7
 use Tymon\JWTAuth\Support\auth\ThrottlesLogins;
12
-use Log;
8
+use Validator;
9
+use plunner\Company;
10
+use plunner\Http\Controllers\Controller;
11
+use plunner\employee;
13 12
 
14 13
 class AuthController extends Controller
15 14
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/Auth/PasswordController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Employees\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use plunner\Http\Controllers\Controller;
7 6
 use Tymon\JWTAuth\Support\auth\ResetsPasswords;
7
+use plunner\Http\Controllers\Controller;
8 8
 use \plunner\Company;
9 9
 use \plunner\Employee;
10 10
 
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/Auth/PasswordController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace plunner\Http\Controllers\Employees\Auth;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-use plunner\Http\Controllers\Controller;
7 6
 use Tymon\JWTAuth\Support\auth\ResetsPasswords;
7
+use plunner\Http\Controllers\Controller;
8 8
 use \plunner\Company;
9 9
 use \plunner\Employee;
10 10
 
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/EmployeesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use plunner\Http\Requests;
8 7
 use plunner\Http\Controllers\Controller;
9 8
 
10 9
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Employees/GroupsController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 
7
-use plunner\Group;
8
-use plunner\Employee;
9
-use plunner\Http\Requests;
10 7
 use plunner\Http\Controllers\Controller;
11 8
 
12 9
 class GroupsController extends Controller
Please login to merge, or discard this patch.
app/Group.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
51 51
 
52 52
     public function getPlannerNameAttribute()
53 53
     {
54
-        if(is_object($this->planner) && $this->planner->exists)
55
-            return $this->planner->name;
54
+        if(is_object($this->planner) && $this->planner->exists) {
55
+                    return $this->planner->name;
56
+        }
56 57
     }
57 58
 
58 59
     /**
Please login to merge, or discard this patch.