function RequireConstructorPropertyPromotionSniff::getParameterPointers
*
Return value
list<int>
1 call to RequireConstructorPropertyPromotionSniff::getParameterPointers()
- RequireConstructorPropertyPromotionSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Classes/ RequireConstructorPropertyPromotionSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Classes/ RequireConstructorPropertyPromotionSniff.php, line 285
Class
Namespace
SlevomatCodingStandard\Sniffs\ClassesCode
private function getParameterPointers(File $phpcsFile, int $functionPointer) : array {
$tokens = $phpcsFile->getTokens();
return TokenHelper::findNextAll($phpcsFile, T_VARIABLE, $tokens[$functionPointer]['parenthesis_opener'] + 1, $tokens[$functionPointer]['parenthesis_closer']);
}