We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c9fae commit 87dfecfCopy full SHA for 87dfecf
tests/ModelTest.php
@@ -492,7 +492,7 @@ public function testRaw(): void
492
$users = User::raw(function (Collection $collection) {
493
return $collection->find(['age' => 35]);
494
});
495
- $this->assertInstanceOf(Collection::class, $users);
+ $this->assertInstanceOf(EloquentCollection::class, $users);
496
$this->assertInstanceOf(Model::class, $users[0]);
497
498
$user = User::raw(function (Collection $collection) {
0 commit comments