Skip to content

Commit fbb9959

Browse files
committed
fix fixture on DowngradeUnionTypeDeclarationRector
1 parent 8b8d200 commit fbb9959

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture/do_not_change_correct_union_array_docblock_on_param.php.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ use PhpParser\Node\Stmt;
77
final class DoNotChangeCorrectUnionArrayDocblockOnParam
88
{
99
/**
10-
* @param int|string[]
10+
* @param int|string[] $data
1111
*/
1212
public function run(int|array $data)
1313
{
1414
}
1515

1616
/**
17-
* @param Node|null|Stmt[]
17+
* @param Node|null|Stmt[] $data
1818
*/
1919
public function run2(Node|null|array $data)
2020
{
@@ -32,14 +32,14 @@ use PhpParser\Node\Stmt;
3232
final class DoNotChangeCorrectUnionArrayDocblockOnParam
3333
{
3434
/**
35-
* @param int|string[]
35+
* @param int|string[] $data
3636
*/
3737
public function run($data)
3838
{
3939
}
4040

4141
/**
42-
* @param Node|null|Stmt[]
42+
* @param Node|null|Stmt[] $data
4343
*/
4444
public function run2($data)
4545
{

0 commit comments

Comments
 (0)