use getNodeTypes() with class-string generic type (#5692)

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
This commit is contained in:
Tomas Votruba 2021-02-27 01:06:15 +01:00 committed by GitHub
parent 8604151f7f
commit a61a2c6e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
662 changed files with 673 additions and 669 deletions

View File

@ -42,7 +42,7 @@ final class AddNewServiceToSymfonyPhpConfigRector extends AbstractRector impleme
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -32,7 +32,7 @@ final class __Name__ extends AbstractRector implements ConfigurableRectorInterfa
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -27,7 +27,7 @@ final class __Name__ extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -60,7 +60,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -60,7 +60,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -45,7 +45,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -101,7 +101,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -66,7 +66,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -59,7 +59,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -86,7 +86,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -69,7 +69,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -110,7 +110,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -132,7 +132,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -88,7 +88,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -69,7 +69,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -65,7 +65,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -53,7 +53,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -52,7 +52,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -75,7 +75,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -58,7 +58,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -73,7 +73,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -71,7 +71,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -71,7 +71,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -78,7 +78,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -97,7 +97,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -36,7 +36,7 @@ final class CombinedAssignRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -53,7 +53,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -41,7 +41,7 @@ final class SimplifyEmptyArrayCheckRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -52,7 +52,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -83,7 +83,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -79,7 +79,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -80,7 +80,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -59,7 +59,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -53,7 +53,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -69,7 +69,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -66,7 +66,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -118,7 +118,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -73,7 +73,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -70,7 +70,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -49,7 +49,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -68,7 +68,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -42,7 +42,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -50,7 +50,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -58,7 +58,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -54,7 +54,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -86,7 +86,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -25,7 +25,7 @@ final class InArrayAndArrayKeysToArrayKeyExistsRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -50,7 +50,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -48,7 +48,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -51,7 +51,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -77,7 +77,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -24,7 +24,7 @@ final class SimplifyFuncGetArgsCountRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -23,7 +23,7 @@ final class SimplifyInArrayValuesRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -70,7 +70,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -25,7 +25,7 @@ final class SimplifyStrposLowerRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -54,7 +54,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -32,7 +32,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -96,7 +96,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -60,7 +60,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -78,7 +78,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -54,7 +54,7 @@ final class GetClassToInstanceOfRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -45,7 +45,7 @@ final class SimplifyArraySearchRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -52,7 +52,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -47,7 +47,7 @@ final class SimplifyConditionsRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -49,7 +49,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -61,7 +61,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -77,7 +77,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -85,7 +85,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -55,7 +55,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -60,7 +60,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -53,7 +53,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -61,7 +61,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<\PhpParser\Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -56,7 +56,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -50,7 +50,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -43,7 +43,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -73,7 +73,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -50,7 +50,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -48,7 +48,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -55,7 +55,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -69,7 +69,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -51,7 +51,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -49,7 +49,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -40,7 +40,7 @@ final class SimplifyTautologyTernaryRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -51,7 +51,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -40,7 +40,7 @@ final class UnnecessaryTernaryExpressionRector extends AbstractRector
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -111,7 +111,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -61,7 +61,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -54,7 +54,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -62,7 +62,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -59,7 +59,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -67,7 +67,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -66,7 +66,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -67,7 +67,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -59,7 +59,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

View File

@ -97,7 +97,7 @@ CODE_SAMPLE
}
/**
* @return string[]
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{

Some files were not shown because too many files have changed in this diff Show More