Skip to content

Commit

Permalink
Fix A void function must not return a value error
Browse files Browse the repository at this point in the history
  • Loading branch information
uintaam committed Apr 8, 2024
1 parent 17f3a19 commit 2eafbf9
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 2eafbf9

Please sign in to comment.