We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 793d146 commit 54b191fCopy full SHA for 54b191f
tests/PHPStan/Parser/TypeParserTest.php
@@ -768,6 +768,22 @@ public function provideParseData(): array
768
new IdentifierTypeNode('Foo')
769
),
770
],
771
+ [
772
+ 'pure-callable(): Foo',
773
+ new CallableTypeNode(
774
+ new IdentifierTypeNode('pure-callable'),
775
+ [],
776
+ new IdentifierTypeNode('Foo')
777
+ ),
778
+ ],
779
780
+ 'pure-Closure(): Foo',
781
782
+ new IdentifierTypeNode('pure-Closure'),
783
784
785
786
787
[
788
'callable(): ?Foo',
789
new CallableTypeNode(
0 commit comments