Skip to content

Commit 9db2c10

Browse files
authored
Format code (#7177)
1 parent 1b999f2 commit 9db2c10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Engine/ElasticsearchEngine.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use Hyperf\Database\Model\Collection;
1919
use Hyperf\Database\Model\Model;
2020
use Hyperf\Scout\Builder;
21+
use Hyperf\Scout\Searchable;
2122
use Hyperf\Scout\SearchableInterface;
2223
use Throwable;
2324

@@ -49,7 +50,7 @@ public function __construct(protected Client $elastic, ?string $index = null)
4950
* Update the given model in the index.
5051
*
5152
* @phpstan-ignore-next-line
52-
* @param Collection<int, \Hyperf\Database\Model\Model&\Hyperf\Scout\Searchable> $models
53+
* @param Collection<int, Model&Searchable> $models
5354
*/
5455
public function update($models): void
5556
{
@@ -81,7 +82,7 @@ public function update($models): void
8182
* Remove the given model from the index.
8283
*
8384
* @phpstan-ignore-next-line
84-
* @param Collection<int, \Hyperf\Database\Model\Model&\Hyperf\Scout\Searchable> $models
85+
* @param Collection<int, Model&Searchable> $models
8586
*/
8687
public function delete($models): void
8788
{

0 commit comments

Comments
 (0)