Skip to content

Commit 87dfecf

Browse files
committed
Fix incorrect collection
1 parent 52c9fae commit 87dfecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public function testRaw(): void
492492
$users = User::raw(function (Collection $collection) {
493493
return $collection->find(['age' => 35]);
494494
});
495-
$this->assertInstanceOf(Collection::class, $users);
495+
$this->assertInstanceOf(EloquentCollection::class, $users);
496496
$this->assertInstanceOf(Model::class, $users[0]);
497497

498498
$user = User::raw(function (Collection $collection) {

0 commit comments

Comments
 (0)