Closed codetec-info closed 5 months ago
Getting the same issue indeed, changed the line to
ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider");
return;
+1 here
Hi @bplace, Could you please create a PR?
Thank you butschster, I was off for the weekend :]
I am using Laravel 10. When I update the package from 3.0.0 to 3.0.2, I got an error:
Whoops\Run::handleError("A void function must not return a value", "butschster\meta-tags\src\Console\InstallCommand.php")
if (file_exists($this->getLaravel()->bootstrapPath('providers.php'))) { // @phpstan-ignore-next-line return ServiceProvider::addProviderToBootstrapFile("{$namespace}\Providers\MetaTagsServiceProvider"); <-- Error here }