Skip to content

Commit

Permalink
Fix type tests (#51558)
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive authored May 24, 2024
1 parent db7a331 commit 022ebc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/Support/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
return 10;
}));

assertType('mixed', with(new User(), function ($user) {
assertType('User', with(new User(), function ($user) {
return $user;
}));
assertType('User', with(new User(), function ($user): User {
Expand Down

0 comments on commit 022ebc9

Please sign in to comment.