PhpCsFixer\AbstractPhpdocTypesFixer::fixTypes PHP Метод

fixTypes() приватный Метод

We must be super careful not to modify parts of words. This will be nicely handled behind the scenes for us by the annotation class.
private fixTypes ( Annotation $annotation )
$annotation PhpCsFixer\DocBlock\Annotation
    private function fixTypes(Annotation $annotation)
    {
        $types = $annotation->getTypes();
        $new = $this->normalizeTypes($types);
        if ($types !== $new) {
            $annotation->setTypes($new);
        }
    }