Skip to content

Commit dcf6e6d

Browse files
committed
cleanup
1 parent 9c91993 commit dcf6e6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"test": "vendor/bin/pest --compact",
6666
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes",
6767
"analyse": "vendor/bin/phpstan analyse",
68-
"rector": "./vendor/bin/rector --dry-run",
68+
"rector": "vendor/bin/rector --dry-run",
6969
"baseline": "./vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G"
7070
},
7171
"suggest": {

src/BackupServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ public function packageRegistered(): void
5252

5353
$this->registerDiscordChannel();
5454

55-
$this->app->scoped(Config::class, function (): \Spatie\Backup\Config\Config {
55+
$this->app->scoped(Config::class, function (): Config {
5656
return Config::fromArray(config('backup'));
5757
});
5858
}
5959

6060
protected function registerDiscordChannel(): void
6161
{
6262
Notification::resolved(function (ChannelManager $service) {
63-
$service->extend('discord', function ($app): \Spatie\Backup\Notifications\Channels\Discord\DiscordChannel {
63+
$service->extend('discord', function ($app): DiscordChannel {
6464
return new DiscordChannel();
6565
});
6666
});

0 commit comments

Comments
 (0)