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
Class starts_with not found in src/ElasticsearchServiceProvider.php
You can replace it by str_starts_with()
Your code is:
`if(version_compare($this->app->version(), '5.1', ">=") or starts_with($this->app->version(), "Lumen")) {
if ($this->app->runningInConsole()) { // Registering commands $this->commands([ ListIndicesCommand::class, CreateIndexCommand::class, UpdateIndexCommand::class, DropIndexCommand::class, ReindexCommand::class ]); }
}`
Your new code should be:
`if(version_compare($this->app->version(), '5.1', ">=") or str_starts_with($this->app->version(), "Lumen")) {
The text was updated successfully, but these errors were encountered:
Link to the problematic line:
elasticsearch/src/ElasticsearchServiceProvider.php
Line 93 in 33ea95c
Sorry, something went wrong.
No branches or pull requests
Class starts_with not found in src/ElasticsearchServiceProvider.php
You can replace it by str_starts_with()
Your code is:
`if(version_compare($this->app->version(), '5.1', ">=") or starts_with($this->app->version(), "Lumen")) {
}`
Your new code should be:
`if(version_compare($this->app->version(), '5.1', ">=") or str_starts_with($this->app->version(), "Lumen")) {
}`
The text was updated successfully, but these errors were encountered: