Skip to content

Commit aa6aa56

Browse files
committed
Update test data
1 parent 454f436 commit aa6aa56

File tree

3 files changed

+26
-11
lines changed

3 files changed

+26
-11
lines changed

tests/phar/data/src/Intersection.php

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace RoundaboutIntersection;
44

5+
class Foo {}
6+
class Bar {}
57
class FooAndBar extends Foo implements Bar {}
68

79
class Baz

0 commit comments

Comments
 (0)