code: private function normalizeTypes(array $types)
      {
          foreach ($types as $index => $type) {
              $types[$index] = $this->normalizeType($type);
          }
  
          return $types;
      }
docs: @param string[] $types
  
  @return string[]