@@ -15,7 +15,7 @@ |
||
| 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 | { |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -7,7 +7,6 @@ |
||
| 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 | { |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -2,7 +2,6 @@ |
||
| 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; |
@@ -185,7 +185,7 @@ |
||
| 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 | { |
@@ -25,7 +25,6 @@ |
||
| 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 | |