Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Nov 13, 2023
1 parent d4f77ab commit ed614d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Fixtures/Type/model-find.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
assertType('list<array{user_id: int, group: string, created_at: string}>', $groups->find(null));
assertType('list<array{user_id: int, group: string, created_at: string}>', $groups->find([1, 2, 3]));

/**
* @param int|string|null $id
*/
function bar($id): void
function bar(null|int|string $id): void
{
$model = model(UserModel::class);

Expand Down

0 comments on commit ed614d4

Please sign in to comment.