update fix deadcode, security
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
|
||||
namespace App\Repositories\Domain;
|
||||
|
||||
use App\Models\Domain;
|
||||
use App\Repositories\BaseCachedRepository;
|
||||
use App\Repositories\BaseRepository;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
||||
class DomainCachedRepository extends BaseCachedRepository implements DomainRepositoryInterface
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Domain;
|
||||
|
||||
use App\Repositories\BaseCachedRepository;
|
||||
|
||||
class DomainTypeCachedRepository extends BaseCachedRepository implements DomainTypeRepositoryInterface
|
||||
{
|
||||
public function __construct(
|
||||
public DomainTypeRepository $domainTypeRepository
|
||||
) {
|
||||
parent::__construct();
|
||||
}
|
||||
public function getModel()
|
||||
{
|
||||
return $this->domainTypeRepository->getModel();
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Domain;
|
||||
|
||||
use App\Models\DomainType;
|
||||
use App\Repositories\BaseRepository;
|
||||
|
||||
class DomainTypeRepository extends BaseRepository implements DomainTypeRepositoryInterface
|
||||
{
|
||||
public function getModel()
|
||||
{
|
||||
return DomainType::class;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Domain;
|
||||
|
||||
use App\Repositories\BaseRepositoryInterface;
|
||||
|
||||
interface DomainTypeRepositoryInterface extends BaseRepositoryInterface{}
|
||||
Reference in New Issue
Block a user