Skip to content

Commit 022ebc9

Browse files
authored
Fix type tests (#51558)
1 parent db7a331 commit 022ebc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/Support/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
return 10;
4343
}));
4444

45-
assertType('mixed', with(new User(), function ($user) {
45+
assertType('User', with(new User(), function ($user) {
4646
return $user;
4747
}));
4848
assertType('User', with(new User(), function ($user): User {

0 commit comments

Comments
 (0)