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 9fd4420 commit 3edb42dCopy full SHA for 3edb42d
tests/Database/DatabaseEloquentModelTest.php
@@ -720,7 +720,7 @@ public function testWithWhereHasWithSpecificColumns()
720
public function testWithWhereHasWorksInNestedQuery()
721
{
722
$model = new EloquentModelWithWhereHasStub;
723
- $instance = $model->newInstance()->newQuery()->with(fn($q) => $q->withWhereHas('foo:diaa,fares'));
+ $instance = $model->newInstance()->newQuery()->with(fn ($q) => $q->withWhereHas('foo:diaa,fares'));
724
$builder = m::mock(Builder::class);
725
$builder->shouldReceive('select')->once()->with(['diaa', 'fares']);
726
$this->assertNotNull($instance->getEagerLoads()['foo']);
0 commit comments