original_string: public function getVersion()
      {
          /** @var Response $response */
          $response = $this->get('version', $this->getGuzzleOptions());
          $version = 0.0;
  
          // Parse output
          if ($response->getStatusCode() == 200
              && preg_match('/Apache Tika (?<version>[\.\d]+)/', $response->getBody(), $matches)
          ) {
              $version = (float)$matches['version'];
          }
  
          return $version;
      }
code: public function getVersion()
      {
          /** @var Response $response */
          $response = $this->get('version', $this->getGuzzleOptions());
          $version = 0.0;
  
          // Parse output
          if ($response->getStatusCode() == 200
              && preg_match('/Apache Tika (?<version>[\.\d]+)/', $response->getBody(), $matches)
          ) {
              $version = (float)$matches['version'];
          }
  
          return $version;
      }
code_tokens: public function getVersion ( ) { /** @var Response $response */ $ response = $ this -> get ( 'version' , $ this -> getGuzzleOptions ( ) ) ; $ version = 0.0 ; // Parse output if ( $ response -> getStatusCode ( ) == 200 && preg_match ( '/Apache Tika (?<version>[\.\d]+)/' , $ response -> getBody ( ) , $ matches ) ) { $ version = ( float ) $ matches [ 'version' ] ; } return $ version ; }
docstring: Get version code
  
  @return float
docstring_tokens: Get version code