diff --git a/tests/DocBlock/TypeExpressionTest.php b/tests/DocBlock/TypeExpressionTest.php index 6dd3e077ef4..54eceb553b2 100644 --- a/tests/DocBlock/TypeExpressionTest.php +++ b/tests/DocBlock/TypeExpressionTest.php @@ -215,6 +215,8 @@ public static function provideGetTypesCases(): iterable yield ['array < int , callable ( string ) : bool >']; + yield ['Closure']; + yield ['Closure(int $a)']; yield ['Closure(int $a): bool'];