-
-
Notifications
You must be signed in to change notification settings - Fork 335
/
some_class.php.inc
37 lines (29 loc) · 1.08 KB
/
some_class.php.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
namespace Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Fixture;
use Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\FirstObjectToIntersect;
use Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\SecondObjectToIntersect;
final class SkipScalarTypes
{
/**
* @param FirstObjectToIntersect&SecondObjectToIntersect $types
*/
public function process($types)
{
}
}
?>
-----
<?php
namespace Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Fixture;
use Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\FirstObjectToIntersect;
use Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\SecondObjectToIntersect;
final class SkipScalarTypes
{
/**
* @param FirstObjectToIntersect&SecondObjectToIntersect $types
*/
public function process(\Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\FirstObjectToIntersect&\Rector\Tests\Php81\Rector\FunctionLike\IntersectionTypesRector\Source\SecondObjectToIntersect $types)
{
}
}
?>