Completed
Pull Request — master (#82)
by Glenn
04:26 queued 01:55
created
app/Http/Controllers/CustomersController.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\Http\Controllers;
4 4
 
5 5
 use App\Customer;
6
-use Illuminate\Http\Request;
7
-
8 6
 use App\Http\Requests;
9 7
 
10 8
 class CustomersController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/CallbackController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use App\Customer as Customer;
9 6
 
10 7
 class CustomersController extends Controller
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function index()
22 22
     {
23 23
         $data['query'] = Callback::all();
24
-    	return view('callbacks/list', $data);
24
+        return view('callbacks/list', $data);
25 25
     }
26 26
 
27 27
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function edit($id)
45 45
     {
46
-    	return view('callbacks/details');
46
+        return view('callbacks/details');
47 47
     }
48 48
 
49 49
 }
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class SettingsController extends Controller
10 10
 {
11
-	/**
11
+    /**
12 12
      * SettingsController constructor.
13 13
      */
14 14
     public function __construct()
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     public function index()
21 21
     {
22
-    	return view('settings.index');
22
+        return view('settings.index');
23 23
     }
24 24
 
25 25
 
Please login to merge, or discard this patch.
app/Http/Controllers/ApiKeyController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use App\User;
6 5
 use Illuminate\Http\Request;
7 6
 use Chrisbjr\ApiGuard\Models\ApiKey;
8
-use App\Http\Requests;
9 7
 
10 8
 class ApiKeyController extends Controller
11 9
 {
Please login to merge, or discard this patch.
app/Http/Controllers/StaffController.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
      * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
82 82
      */
83 83
     public function index()
84
-	{
85
-		$data['users'] = User::paginate(15);
86
-    	return view('users/index', $data);
84
+    {
85
+        $data['users'] = User::paginate(15);
86
+        return view('users/index', $data);
87 87
     }
88 88
 
89 89
     /**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         $id = auth()->user()->id;
125 125
         $data['tokens'] = ApiKey::where('user_id', $id)->get();
126
-    	return view('users/profile', $data);
126
+        return view('users/profile', $data);
127 127
     }
128 128
 
129 129
     /**
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
         $data2 = [];
150 150
         foreach($items as $role)
151 151
         {
152
-         $data2[] = [
152
+            $data2[] = [
153 153
         'value' => $role["id"],
154 154
         'text'  => $role["name"]
155 155
         ];
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,10 +5,7 @@
 block discarded – undo
5 5
 use App\Departments;
6 6
 use App\User;
7 7
 use App\Roles;
8
-
9 8
 use Chrisbjr\ApiGuard\Models\ApiKey;
10
-use Illuminate\Http\Request;
11
-
12 9
 use App\Http\Requests;
13 10
 use Bouncer;
14 11
 
Please login to merge, or discard this patch.
app/Http/Controllers/ProfileController.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\Http\Controllers;
4 4
 
5 5
 use App\Customer;
6
-use Illuminate\Http\Request;
7
-
8 6
 use App\Http\Requests;
9 7
 
10 8
 class CustomersController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/DepartmentController.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 App\Departments;
6 6
 use Illuminate\Http\Request;
7
-
8 7
 use App\Http\Requests;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
app/Http/Controllers/RolesController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
      */
17 17
     public function index()
18 18
     {
19
-    	$data['roles'] = Roles::all();
20
-    	return view('roles.index', $data);
19
+        $data['roles'] = Roles::all();
20
+        return view('roles.index', $data);
21 21
     }
22 22
 
23 23
     /**
Please login to merge, or discard this 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 Illuminate\Http\Request;
6
-use App\Http\Requests;
7 6
 use Silber\Bouncer\Database\Constraints\Roles;
8 7
 
9 8
 class RolesController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/BackupController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 class BackupController extends Controller
10 10
 {
11
-	    public function __construct()
11
+        public function __construct()
12 12
     {
13 13
         $this->middleware('auth');
14 14
         $this->middleware('lang');
@@ -21,6 +21,6 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function index()
23 23
     {
24
-    	return view('settings.backups');
24
+        return view('settings.backups');
25 25
     }
26 26
 }
Please login to merge, or discard this patch.