Skip to content

Commit

Permalink
Merge pull request #66 from uintaam/3.x
Browse files Browse the repository at this point in the history
Fix A void function must not return a value error
  • Loading branch information
butschster authored Apr 8, 2024
2 parents 17f3a19 + 2eafbf9 commit 5e71234
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class InstallCommand extends Command
{
protected $signature = 'meta-tags:install';

protected $description = 'Install all of the MetaTags package resources';

public function handle(): void
Expand All @@ -35,7 +35,8 @@ protected function registerServiceProvider(): void

if (file_exists($this->getLaravel()->bootstrapPath('providers.php'))) {
// @phpstan-ignore-next-line
return ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider");
ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider");
return;
}

/** @psalm-suppress UndefinedFunction */
Expand Down

0 comments on commit 5e71234

Please sign in to comment.