Skip to content

Commit 70934be

Browse files
committed
[TypeDeclarationDocblocks] Skip mixed[] from empty array on ClassMethodArrayDocblockParamFromLocalCallsRector
1 parent e062bee commit 70934be

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace Rector\Tests\TypeDeclarationDocblocks\Rector\Class_\ClassMethodArrayDocblockParamFromLocalCallsRector\Fixture;
4+
5+
final class SkipMixedFromEmptyArray
6+
{
7+
public function execute(array $data)
8+
{
9+
$data = [];
10+
$this->run($data);
11+
}
12+
13+
private function run(array $data)
14+
{
15+
}
16+
}

0 commit comments

Comments
 (0)