code: public function getContentType(string $contentTypeId): ContentType
      {
          /** @var ContentType $contentType */
          $contentType = $this->requestWithCache(
              '/spaces/'.$this->spaceId.'/environments/'.$this->environmentId.'/content_types/'.$contentTypeId,
              [],
              'ContentType',
              $contentTypeId
          );
  
          return $contentType;
      }
docs: {@inheritdoc}