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.
1 parent 454f436 commit aa6aa56Copy full SHA for aa6aa56
tests/phar/data/src/Intersection.php
tests/phar/data/src/IntersectionDocument.php
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+class Head {}
4
+interface Body {}
5
+interface Footer {}
6
7
+class IntersectionDocument
8
+{
9
+ public Head&Body $headAndBody;
10
11
+ /**
12
+ * @var Head&Body
13
+ */
14
+ public $headAndBodyPHPDoc;
15
16
17
+ * @var IntersectionDocument
18
19
+ public Head&Body $headAndBodyPHPDocOverride;
20
21
+ public function __construct(
22
+ public Head&Body $baz,
23
+ ) {}
24
+}
tests/phar/data/src/RoundaboutIntersection.php
@@ -2,6 +2,8 @@
namespace RoundaboutIntersection;
+class Foo {}
+class Bar {}
class FooAndBar extends Foo implements Bar {}
class Baz
0 commit comments