We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cbe610 + e6a7d5a commit 0162c4fCopy full SHA for 0162c4f
tests/unit/TypeResolverTest.php
@@ -964,6 +964,24 @@ public function typeProvider(): array
964
]
965
),
966
],
967
+ [
968
+ '(A&B)|C|(D&E)',
969
+ new Compound([
970
+ new Expression(
971
+ new Intersection([
972
+ new Object_(new Fqsen('\\phpDocumentor\\A')),
973
+ new Object_(new Fqsen('\\phpDocumentor\\B')),
974
+ ]),
975
+ ),
976
+ new Object_(new Fqsen('\\phpDocumentor\\C')),
977
978
979
+ new Object_(new Fqsen('\\phpDocumentor\\D')),
980
+ new Object_(new Fqsen('\\phpDocumentor\\E')),
981
982
983
984
+ ],
985
[
986
'string[]',
987
new Array_(
0 commit comments