Skip to content

Commit 1d14bd9

Browse files
committed
[TypeDeclarationDocblocks] Skip deep array structure on AddReturnDocblockForCommonObjectDenominatorRector
1 parent 15fbd08 commit 1d14bd9

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\AddReturnDocblockForCommonObjectDenominatorRector\Fixture;
4+
5+
use Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\AddReturnDocblockForCommonObjectDenominatorRector\Source\FirstExtension;
6+
use Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\AddReturnDocblockForCommonObjectDenominatorRector\Source\SecondExtension;
7+
8+
final class SkipDeepArrayStructure
9+
{
10+
public function getExtensions(): array
11+
{
12+
return [
13+
[
14+
new FirstExtension(),
15+
new SecondExtension()
16+
],
17+
];
18+
}
19+
}

0 commit comments

Comments
 (0)