Skip to content

Commit

Permalink
Fixes #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiergummi committed Jan 24, 2021
1 parent a368765 commit bac5e2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ElasticsearchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use function class_exists;
use function config_path;
use function method_exists;
use function str_starts_with;
use function version_compare;

/**
Expand Down Expand Up @@ -111,7 +110,7 @@ public function register(): void

if (
version_compare($version, '5.1', '>=') &&
str_starts_with($version, 'Lumen') &&
Str::startsWith($version, 'Lumen') &&
$this->app->runningInConsole()
) {
// Registering commands
Expand Down

0 comments on commit bac5e2b

Please sign in to comment.