Clean unused namespaces

This commit is contained in:
Bubka 2021-09-26 23:48:16 +02:00
parent 10fc144246
commit 3aef29717f
5 changed files with 2 additions and 14 deletions

View File

@ -3,13 +3,11 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Group; use App\Group;
use App\TwoFAccount;
use App\Services\GroupService; use App\Services\GroupService;
use App\Http\Requests\GroupStoreRequest; use App\Http\Requests\GroupStoreRequest;
use App\Http\Requests\GroupAssignRequest; use App\Http\Requests\GroupAssignRequest;
use App\Http\Resources\GroupResource; use App\Http\Resources\GroupResource;
use App\Http\Resources\TwoFAccountCollection; use App\Http\Resources\TwoFAccountCollection;
use Illuminate\Http\Request;
class GroupController extends Controller class GroupController extends Controller
{ {

View File

@ -2,13 +2,11 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Classes\DbProtection;
use App\Http\Requests\SettingStoreRequest; use App\Http\Requests\SettingStoreRequest;
use App\Http\Requests\SettingUpdateRequest; use App\Http\Requests\SettingUpdateRequest;
use App\Services\SettingServiceInterface;
use Illuminate\Http\Request;
use App\Classes\DbProtection;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use Illuminate\Support\Collection; use App\Services\SettingServiceInterface;
class SettingController extends Controller class SettingController extends Controller

View File

@ -3,8 +3,6 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Services\SettingServiceInterface; use App\Services\SettingServiceInterface;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
class SinglePageController extends Controller class SinglePageController extends Controller
{ {

View File

@ -2,7 +2,6 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Group;
use App\TwoFAccount; use App\TwoFAccount;
use App\Http\Requests\TwoFAccountReorderRequest; use App\Http\Requests\TwoFAccountReorderRequest;
use App\Http\Requests\TwoFAccountStoreRequest; use App\Http\Requests\TwoFAccountStoreRequest;

View File

@ -4,14 +4,9 @@
use Exception; use Exception;
// use App\Services\SettingServiceInterface; // use App\Services\SettingServiceInterface;
use OTPHP\HOTP;
use OTPHP\Factory;
use App\Classes\Options;
use ParagonIE\ConstantTime\Base32;
use Spatie\EloquentSortable\Sortable; use Spatie\EloquentSortable\Sortable;
use Spatie\EloquentSortable\SortableTrait; use Spatie\EloquentSortable\SortableTrait;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Crypt; use Illuminate\Support\Facades\Crypt;