mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-22 10:55:10 +00:00
Fix empty docblocks (#6128)
* working prototype for nested arrays * add data provider
This commit is contained in:
parent
5bde10c181
commit
b03fa60c52
|
@ -0,0 +1,3 @@
|
|||
/**
|
||||
* @dataProvider someMethod()
|
||||
*/
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
* Inspiration @see https://github.com/rectorphp/rector/pull/1865/files#diff-0d18e660cdb626958662641b491623f8
|
||||
* @wip
|
||||
*
|
||||
* @see \Rector\Tests\Autodiscovery\Rector\Class_\MoveValueObjectsToValueObjectDirectoryRector\MoveValueObjectsToValueObjectDirectoryRectorTest
|
||||
*/
|
|
@ -215,6 +215,9 @@ final class DoctrineAnnotationDecorator
|
|||
|
||||
$openBracketCount = 0;
|
||||
$closeBracketCount = 0;
|
||||
if ($composedContent === '') {
|
||||
return true;
|
||||
}
|
||||
|
||||
do {
|
||||
if ($composedTokenIterator->isCurrentTokenTypes([
|
||||
|
|
Loading…
Reference in New Issue
Block a user