update
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
namespace App\Http\Facade;
|
||||
|
||||
use App\Http\Services\SignRSA as SignRSAService;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
class SignRSA extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'signrsa';
|
||||
return SignRSAService::class;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Http\Helpers\Helper;
|
||||
use App\Http\Services\SignRSA;
|
||||
use App\Models\ModuleIpAddress;
|
||||
use App\Models\ModuleVmware;
|
||||
use App\Observers\ModuleIpAddressObserver;
|
||||
@@ -27,9 +26,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
$this->app->singleton(CacheServiceInterface::class, CacheService::class);
|
||||
$this->app->singleton(ActivityLogger::class);
|
||||
|
||||
$this->app->bind('signrsa', function () {
|
||||
return new SignRSA();
|
||||
});
|
||||
$this->app->bind('helper', function () {
|
||||
return new Helper();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user