src/AbstractPhpdocTypesFixer.php
private function normalizeType($type)
    {
        if ('[]' === substr($type, -2)) {
            return $this->normalize(substr($type, 0, -2)).'[]';
        }

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

        return $this->normalize($type);
    }
Prepare the type and normalize it.

@param string $type

@return string