mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -26,15 +26,9 @@ public function boot(): void
|
||||
ResourceCollection::withoutWrapping();
|
||||
|
||||
// facades
|
||||
$this->app->bind('ssh', function () {
|
||||
return new SSH;
|
||||
});
|
||||
$this->app->bind('notifier', function () {
|
||||
return new Notifier;
|
||||
});
|
||||
$this->app->bind('ftp', function () {
|
||||
return new FTP;
|
||||
});
|
||||
$this->app->bind('ssh', fn (): \App\Helpers\SSH => new SSH);
|
||||
$this->app->bind('notifier', fn (): \App\Helpers\Notifier => new Notifier);
|
||||
$this->app->bind('ftp', fn (): \App\Helpers\FTP => new FTP);
|
||||
|
||||
Sanctum::usePersonalAccessTokenModel(PersonalAccessToken::class);
|
||||
}
|
||||
|
Reference in New Issue
Block a user