diff --git a/composer.json b/composer.json index 1693b2c..24d6095 100644 --- a/composer.json +++ b/composer.json @@ -26,18 +26,18 @@ } }, "require": { - "php": ">=7.2", + "php": ">=7.3", "ext-swoole": ">=4.5", "elasticsearch/elasticsearch": "^7.9", - "hyperf/config": "^2.0", - "hyperf/di": "^2.0", - "hyperf/framework": "^2.0", - "hyperf/guzzle": "^2.0", - "hyperf/pool": "^2.0" + "hyperf/config": "~2.1.0", + "hyperf/di": "~2.1.0", + "hyperf/framework": "~2.1.0", + "hyperf/guzzle": "~2.1.0", + "hyperf/pool": "~2.1.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.14", - "hyperf/testing": "^2.0", + "hyperf/testing": "~2.1.0", "phpstan/phpstan": "^0.12", "swoole/ide-helper": "dev-master", "mockery/mockery": "^1.0" diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 77b843b..278d884 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -23,7 +23,7 @@ public function __invoke(): array 'publish' => [ [ 'id' => 'config', - 'description' => 'The config for HyperfExt\\Elasticsearch.', + 'description' => 'The config for hyperf-ext/elasticsearch.', 'source' => __DIR__ . '/../publish/elasticsearch.php', 'destination' => BASE_PATH . '/config/autoload/elasticsearch.php', ],