original_string: private function endItem()
      {
          if ($this->version == Feed::RSS2 || $this->version == Feed::RSS1) {
              return '</item>' . PHP_EOL;
          } elseif ($this->version == Feed::ATOM) {
              return '</entry>' . PHP_EOL;
          }
      }
code: private function endItem()
      {
          if ($this->version == Feed::RSS2 || $this->version == Feed::RSS1) {
              return '</item>' . PHP_EOL;
          } elseif ($this->version == Feed::ATOM) {
              return '</entry>' . PHP_EOL;
          }
      }
code_tokens: private function endItem ( ) { if ( $ this -> version == Feed :: RSS2 || $ this -> version == Feed :: RSS1 ) { return '</item>' . PHP_EOL ; } elseif ( $ this -> version == Feed :: ATOM ) { return '</entry>' . PHP_EOL ; } }
docstring: Closes feed item tag
  
  @access   private
  @return   string  The ending XML tag of an feed item.
docstring_tokens: Closes feed item tag