Skip to content

Commit

Permalink
Format code (#7177)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Nov 28, 2024
1 parent 1b999f2 commit 9db2c10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Engine/ElasticsearchEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<int, \Hyperf\Database\Model\Model&\Hyperf\Scout\Searchable> $models
* @param Collection<int, Model&Searchable> $models
*/
public function update($models): void
{
Expand Down Expand Up @@ -81,7 +82,7 @@ public function update($models): void
* Remove the given model from the index.
*
* @phpstan-ignore-next-line
* @param Collection<int, \Hyperf\Database\Model\Model&\Hyperf\Scout\Searchable> $models
* @param Collection<int, Model&Searchable> $models
*/
public function delete($models): void
{
Expand Down

0 comments on commit 9db2c10

Please sign in to comment.