We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 }
The text was updated successfully, but these errors were encountered:
Getting the same issue indeed, changed the line to
ServiceProvider::addProviderToBootstrapFile("{$namespace}\\Providers\\MetaTagsServiceProvider"); return;
Sorry, something went wrong.
+1 here
Hi @bplace, Could you please create a PR?
Thank you butschster, I was off for the weekend :]
bplace
Successfully merging a pull request may close this issue.
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
}
The text was updated successfully, but these errors were encountered: