Skip to content

Commit c647a06

Browse files
committed
[TypeDeclarationDocblocks] Skip @param mixed on AddParamArrayDocblockFromDataProviderRector
1 parent 9e917bd commit c647a06

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\AddParamArrayDocblockFromDataProviderRector\Fixture;
6+
7+
use PHPUnit\Framework\Attributes\DataProvider;
8+
use PHPUnit\Framework\TestCase;
9+
10+
final class SkipMixedFromParamArray extends TestCase
11+
{
12+
#[DataProvider('provideData')]
13+
public function test(array $names): void
14+
{
15+
}
16+
17+
public static function provideData()
18+
{
19+
return [
20+
[$item],
21+
[$item2],
22+
];
23+
}
24+
}

0 commit comments

Comments
 (0)