Skip to content

Commit

Permalink
styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Davis Puciriuss committed Jun 18, 2024
1 parent 8491ad7 commit 6fb08a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticSearch/EloquentHitsIteratorAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function getIterator(): Traversable
/** @var array<int, string> $hasTrait */
$hasTrait = [];
$models = collect($hits)->groupBy('_source.__class_name')
->map(function ($results, $class) use(&$hasTrait) {
->map(function ($results, $class) use (&$hasTrait) {
/** @var Model&Searchable $model */
$model = new $class;
$model->setKeyType('string');
Expand Down

0 comments on commit 6fb08a8

Please sign in to comment.