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