diff --git a/tests/Fixtures/Type/model-find.php b/tests/Fixtures/Type/model-find.php index ea3b77c..b16bec6 100644 --- a/tests/Fixtures/Type/model-find.php +++ b/tests/Fixtures/Type/model-find.php @@ -31,10 +31,7 @@ assertType('list', $groups->find(null)); assertType('list', $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);