Skip to content

Commit dce0876

Browse files
committed
Fix property generics replacement.
1 parent f44ee58 commit dce0876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpCollective/Sniffs/Commenting/DisallowArrayTypeHintSyntaxSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ protected function fixAnnotation(File $phpcsFile, Annotation $annotation, string
189189
$methodName .= '(' . implode(', ', $list) . ')';
190190
}
191191

192-
$fixedAnnotation = sprintf('%s %s %s %s %s %s', $fixedAnnotation, $parameterName, $variableName, $description, $methodName, $propertyName);
192+
$fixedAnnotation = sprintf('%s %s %s %s %s %s', $fixedAnnotation, $parameterName, $variableName, $propertyName, $description, $methodName);
193193
/** @var string $fixedAnnotation */
194194
$fixedAnnotation = preg_replace('/\s+/', ' ', trim($fixedAnnotation));
195195

0 commit comments

Comments
 (0)