Completed
Pull Request — develop (#98)
by Neil
17:48
created
app/Api/Controllers/WidgetController.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 App\Api\Controllers;
4 4
 
5
-use App\Models\User;
6 5
 use App\Models\Widgets;
7 6
 use Illuminate\Http\Request;
8 7
 
Please login to merge, or discard this patch.
app/Api/Controllers/DashboardController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Api\Controllers;
4 4
 
5
-use Validator;
6
-use App\Models\User;
7 5
 use App\Models\Dashboard;
8 6
 use App\Models\UsersWidgets;
9 7
 use Dingo\Api\Routing\Helpers;
10 8
 use Illuminate\Http\Request;
9
+use Validator;
11 10
 
12 11
 class DashboardController extends Controller
13 12
 {
Please login to merge, or discard this patch.
app/Api/Controllers/DashboardWidgetController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Api\Controllers;
4 4
 
5
-use App\Models\Widgets;
6 5
 use App\Models\Dashboard;
7 6
 use App\Models\UsersWidgets;
7
+use App\Models\Widgets;
8 8
 use Dingo\Api\Http;
9 9
 use Dingo\Api\Routing\Helpers;
10 10
 use Illuminate\Http\Request;
Please login to merge, or discard this patch.
app/Api/Controllers/UsersWidgetController.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 App\Api\Controllers;
4 4
 
5
-use App\Models\User;
6 5
 use App\Models\Widgets;
7 6
 use Illuminate\Http\Request;
8 7
 
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
+use App\Models\Dashboard;
5 6
 use Dingo\Api\Http;
6 7
 use Dingo\Api\Routing\Helpers;
7 8
 use Illuminate\Http\Request;
8
-use App\Models\Dashboard;
9 9
 use JWTAuth;
10
-use Tymon\JWTAuth\Exceptions\JWTException;
11 10
 
12 11
 class HomeController extends Controller
13 12
 {
Please login to merge, or discard this patch.
app/Http/Controllers/DeviceController.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 App\Http\Controllers;
4 4
 
5
-use Settings;
6 5
 use Dingo\Api\Http;
7 6
 use Dingo\Api\Routing\Helpers;
8 7
 use Illuminate\Http\Request;
Please login to merge, or discard this patch.
app/Http/Controllers/Alerting/AlertsController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,8 @@
 block discarded – undo
19 19
 
20 20
 use Illuminate\Http\Request;
21 21
 
22
-use App\Http\Requests;
23
-use App\Http\Controllers\Controller;
24 22
 use App\DataTables\AlertsDataTable;
23
+use App\Http\Controllers\Controller;
25 24
 
26 25
 class AlertsController extends Controller
27 26
 {
Please login to merge, or discard this patch.
app/Api/Controllers/Alerting/AlertsController.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,12 +25,11 @@
 block discarded – undo
25 25
 
26 26
 namespace App\Api\Controllers\Alerting;
27 27
 
28
-use App\Api\Transformers\AlertsTransformer;
28
+use App\Api\Controllers\Controller;
29
+use App\Models\Alerting\Alert;
29 30
 use Dingo\Api\Http;
30 31
 use Dingo\Api\Routing\Helpers;
31 32
 use Illuminate\Http\Request;
32
-use App\Api\Controllers\Controller;
33
-use App\Models\Alerting\Alert;
34 33
 
35 34
 class AlertsController extends Controller
36 35
 {
Please login to merge, or discard this patch.
app/Models/Alerting/Rule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 namespace App\Models\Alerting;
27 27
 
28 28
 use Illuminate\Database\Eloquent\Model;
29
-use Illuminate\Database\Eloquent\Builder;
30 29
 
31 30
 
32 31
 /**
Please login to merge, or discard this patch.