Skip to content

Commit 887588f

Browse files
committed
Laravel 13.3 compatibility
1 parent e377423 commit 887588f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Eloquent/Model.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ public function __construct(array $attributes = [])
4343

4444
}
4545

46+
/** {@inheritdoc} */
47+
public function newCollection(array $models = [])
48+
{
49+
return new ElasticCollection($models);
50+
}
51+
4652
public function getTable()
4753
{
4854
if (! empty($this->index)) {

0 commit comments

Comments
 (0)