File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 65
65
"test" : " vendor/bin/pest --compact" ,
66
66
"format" : " vendor/bin/php-cs-fixer fix --allow-risky=yes" ,
67
67
"analyse" : " vendor/bin/phpstan analyse" ,
68
- "rector" : " ./ vendor/bin/rector --dry-run" ,
68
+ "rector" : " vendor/bin/rector --dry-run" ,
69
69
"baseline" : " ./vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G"
70
70
},
71
71
"suggest" : {
Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ public function packageRegistered(): void
52
52
53
53
$ this ->registerDiscordChannel ();
54
54
55
- $ this ->app ->scoped (Config::class, function (): \ Spatie \ Backup \ Config \ Config {
55
+ $ this ->app ->scoped (Config::class, function (): Config {
56
56
return Config::fromArray (config ('backup ' ));
57
57
});
58
58
}
59
59
60
60
protected function registerDiscordChannel (): void
61
61
{
62
62
Notification::resolved (function (ChannelManager $ service ) {
63
- $ service ->extend ('discord ' , function ($ app ): \ Spatie \ Backup \ Notifications \ Channels \ Discord \ DiscordChannel {
63
+ $ service ->extend ('discord ' , function ($ app ): DiscordChannel {
64
64
return new DiscordChannel ();
65
65
});
66
66
});
You can’t perform that action at this time.
0 commit comments