Completed
Pull Request — master (#66)
by Tim
05:27
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/DepartmentController.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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  */
14 14
 class CallbackController extends Controller
15 15
 {
16
-	    public function __construct()
16
+        public function __construct()
17 17
     {
18 18
         $this->middleware('auth');
19 19
         $this->middleware('lang');
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public function index()
28 28
     {
29 29
         $data['query'] = Callback::all();
30
-    	return view('callbacks/list', $data);
30
+        return view('callbacks/list', $data);
31 31
     }
32 32
 
33 33
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function edit($id)
61 61
     {
62
-    	return view('callbacks/details');
62
+        return view('callbacks/details');
63 63
     }
64 64
 
65 65
     /**
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   -4 removed lines patch added patch discarded remove patch
@@ -4,11 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use App\User;
6 6
 use App\Roles;
7
-
8 7
 use Chrisbjr\ApiGuard\Models\ApiKey;
9
-use Illuminate\Http\Request;
10
-
11
-use App\Http\Requests;
12 8
 use Bouncer;
13 9
 
14 10
 /**
Please login to merge, or discard this patch.