Completed
Push — datatables-fix ( f696ce...897fa3 )
by Tony
02:57
created
app/Api/Controllers/WidgetController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Display a listing of all widgets
17 17
      *
18
-     * @return \Illuminate\Http\Response
18
+     * @return \Illuminate\Database\Eloquent\Collection
19 19
      */
20 20
     public function index(Request $request)
21 21
     {
Please login to merge, or discard this 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 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Http\Request;
8 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/Api/Controllers/DashboardController.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/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/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/Settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
      * Or when the user is not a global admin.
186 186
      *
187 187
      * @param string $key The path to check
188
-     * @return bool|string false or the source: config | auth
188
+     * @return string|false false or the source: config | auth
189 189
      */
190 190
     public function isReadOnly($key)
191 191
     {
Please login to merge, or discard this patch.
app/DataTables/Alerting/LogsDataTable.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 
26 26
 namespace App\DataTables\Alerting;
27 27
 
28
-use App\Models\Alerting\Alert;
29 28
 use App\Models\Alerting\Log;
30 29
 use Yajra\Datatables\Services\DataTable;
31 30
 
Please login to merge, or discard this patch.
app/Api/Controllers/General/EventlogController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 
28 28
 use App\Api\Controllers\Controller;
29 29
 use App\Models\General\Eventlog;
30
-use App\Models\Alerting\Log;
31 30
 use Dingo\Api\Http;
32 31
 use Dingo\Api\Routing\Helpers;
33 32
 use Illuminate\Http\Request;
Please login to merge, or discard this patch.