PhpCsFixer\AbstractPhpdocTypesFixer::normalizeType PHP Method

normalizeType() private method

Prepare the type and normalize it.
private normalizeType ( string $type ) : string
$type string
return string
    private function normalizeType($type)
    {
        if (substr($type, -2) === '[]') {
            return $this->normalize(substr($type, 0, -2)) . '[]';
        }
        return $this->normalize($type);
    }