Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix A void function must not return a value error #66

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

uintaam
Copy link
Contributor

@uintaam uintaam commented Apr 8, 2024

Fixes and issue with updating the package

  at vendor/butschster/meta-tags/src/Console/InstallCommand.php:38
     34▕         $namespace = Str::replaceLast('\\', '', $this->getLaravel()->getNamespace());
     35▕
     36▕         if (file_exists($this->getLaravel()->bootstrapPath('providers.php'))) {
     37▕             // @phpstan-ignore-next-line
  ➜  38▕             return ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider");
     39▕         }
     40▕
     41▕         /** @psalm-suppress UndefinedFunction */
     42▕         $config = file_get_contents(config_path('app.php'));

@butschster butschster self-requested a review April 8, 2024 06:08
@butschster butschster self-assigned this Apr 8, 2024
@butschster butschster added the bug Something isn't working label Apr 8, 2024
@butschster butschster merged commit 5e71234 into butschster:3.x Apr 8, 2024
3 checks passed
@butschster
Copy link
Owner

@uintaam Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants