Skip to content

Commit d672c3f

Browse files
committed
Fix service provider compatibility with older spatie/laravel-package-tools
Use hasCommands() instead of hasConsoleCommands() for backwards compatibility with spatie/laravel-package-tools ^1.14.0.
1 parent c47a9b9 commit d672c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelPptServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function configurePackage(Package $package): void
3838
$package
3939
->name('laravel-ppt')
4040
->hasConfigFile('powerpoint')
41-
->hasConsoleCommands([
41+
->hasCommands([
4242
CreateNewSlideDeckCommand::class,
4343
CreateNewSlideCommand::class,
4444
GenerateSamplePresentationCommand::class,

0 commit comments

Comments
 (0)