original_string: public function publishVersion($contentId, $versionNumber)
      {
          if (!$this->isUserContent($contentId)) {
              parent::publishVersion($contentId, $versionNumber);
          }
  
          return new NoContent();
      }
code: public function publishVersion($contentId, $versionNumber)
      {
          if (!$this->isUserContent($contentId)) {
              parent::publishVersion($contentId, $versionNumber);
          }
  
          return new NoContent();
      }
code_tokens: public function publishVersion ( $ contentId , $ versionNumber ) { if ( ! $ this -> isUserContent ( $ contentId ) ) { parent :: publishVersion ( $ contentId , $ versionNumber ) ; } return new NoContent ( ) ; }
docstring: If the published content is a user, return directly without publishing.
  
  @param mixed $contentId
  @param int $versionNumber
  
  @return \eZ\Publish\Core\REST\Server\Values\NoContent
docstring_tokens: If the published content is a user return directly without publishing .