original_string: public function get_extension()
  	{
  		if ($this->link !== null)
  		{
  			$url = SimplePie_Misc::parse_url($this->link);
  			if ($url['path'] !== '')
  			{
  				return pathinfo($url['path'], PATHINFO_EXTENSION);
  			}
  		}
  		return null;
  	}
code: public function get_extension()
  	{
  		if ($this->link !== null)
  		{
  			$url = SimplePie_Misc::parse_url($this->link);
  			if ($url['path'] !== '')
  			{
  				return pathinfo($url['path'], PATHINFO_EXTENSION);
  			}
  		}
  		return null;
  	}
code_tokens: public function get_extension ( ) { if ( $ this -> link !== null ) { $ url = SimplePie_Misc :: parse_url ( $ this -> link ) ; if ( $ url [ 'path' ] !== '' ) { return pathinfo ( $ url [ 'path' ] , PATHINFO_EXTENSION ) ; } } return null ; }
docstring: Get the file extension
  
  @return string|null
docstring_tokens: Get the file extension