From 9db2c10c182b2e410c1f277201b8209d54928f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Thu, 28 Nov 2024 09:51:55 +0800 Subject: [PATCH] Format code (#7177) --- src/Engine/ElasticsearchEngine.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Engine/ElasticsearchEngine.php b/src/Engine/ElasticsearchEngine.php index 8b4bf05..95ea2ea 100644 --- a/src/Engine/ElasticsearchEngine.php +++ b/src/Engine/ElasticsearchEngine.php @@ -18,6 +18,7 @@ use Hyperf\Database\Model\Collection; use Hyperf\Database\Model\Model; use Hyperf\Scout\Builder; +use Hyperf\Scout\Searchable; use Hyperf\Scout\SearchableInterface; use Throwable; @@ -49,7 +50,7 @@ public function __construct(protected Client $elastic, ?string $index = null) * Update the given model in the index. * * @phpstan-ignore-next-line - * @param Collection $models + * @param Collection $models */ public function update($models): void { @@ -81,7 +82,7 @@ public function update($models): void * Remove the given model from the index. * * @phpstan-ignore-next-line - * @param Collection $models + * @param Collection $models */ public function delete($models): void {