code: protected function normalize($type)
      {
          if (\in_array($type, $this->configuration['types'], true)) {
              return self::$types[$type];
          }
  
          return $type;
      }
docs: {@inheritdoc}