Skip to content

Commit c2ae542

Browse files
committed
Revert "test: add builder test"
This reverts commit 0ae429c.
1 parent 0ae429c commit c2ae542

File tree

2 files changed

+1
-73
lines changed

2 files changed

+1
-73
lines changed

e2e/bug-11857/src/builders.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

e2e/bug-11857/src/test.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,5 @@ function test(ChildPost $child): void
6666
{
6767
assertType('Bug11857\BelongsTo<Bug11857\User, Bug11857\ChildPost>', $child->user());
6868
// This demonstrates why `$this` is needed in non-final models
69-
// Should be: Bug11857\BelongsTo<Bug11857\User, Bug11857\ChildPost>
70-
assertType('Bug11857\BelongsTo<Bug11857\User, Bug11857\Post>', $child->userSelf());
69+
assertType('Bug11857\BelongsTo<Bug11857\User, Bug11857\Post>', $child->userSelf()); // should be: Bug11857\BelongsTo<Bug11857\User, Bug11857\ChildPost>
7170
}

0 commit comments

Comments
 (0)