From 163dea5359ea60552f8194c6702def0e13d9269b Mon Sep 17 00:00:00 2001 From: Caleb White Date: Sat, 14 Sep 2024 00:07:48 -0500 Subject: [PATCH] fix: relation class forwarding test --- tests/Type/data/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Type/data/model.php b/tests/Type/data/model.php index 6564ce8f5..a42a2af70 100644 --- a/tests/Type/data/model.php +++ b/tests/Type/data/model.php @@ -131,7 +131,7 @@ function test( assertType('Illuminate\Database\Eloquent\Builder', $user->with('accounts')); assertType('Illuminate\Database\Eloquent\Builder', $user->with('accounts')->with('group')); assertType('Illuminate\Database\Eloquent\Builder', $user->with(['accounts' => function (Relation $relation) { - assertType('Illuminate\Database\Eloquent\Relations\Relation', $relation->orderBy('id')); + assertType('Illuminate\Database\Eloquent\Relations\Relation', $relation->orderBy('id')); }])); assertType('Illuminate\Database\Eloquent\Builder', User::lockForUpdate()); assertType('Illuminate\Database\Eloquent\Builder', User::sharedLock());