Skip to content

Commit e415086

Browse files
authored
Update HybridRelations.php
1 parent 7639e55 commit e415086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Eloquent/HybridRelations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use PDPhilip\Elasticsearch\Relations\MorphTo;
1515
use PDPhilip\Elasticsearch\Relations\MorphOne;
1616
use PDPhilip\Elasticsearch\Eloquent\Model as ParentModel;
17-
17+
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
1818

1919
trait HybridRelations
2020
{
@@ -185,6 +185,6 @@ public function newEloquentBuilder($query)
185185
return new Builder($query);
186186
}
187187

188-
return new Builder($query);
188+
return new EloquentBuilder($query);
189189
}
190190
}

0 commit comments

Comments
 (0)