original_string: public function getCompany($companyId, $fields = ['*'])
      {
          $apiUrl = $this->getEndpoint('companies');
          $apiUrl .= $companyId;
  
          $params = array(
              'fields' => implode(',', $fields)
          );
  
          $apiData = $this->apiGet($apiUrl, $params);
  
          return $this->decodeSingle($apiData);
      }
code: public function getCompany($companyId, $fields = ['*'])
      {
          $apiUrl = $this->getEndpoint('companies');
          $apiUrl .= $companyId;
  
          $params = array(
              'fields' => implode(',', $fields)
          );
  
          $apiData = $this->apiGet($apiUrl, $params);
  
          return $this->decodeSingle($apiData);
      }
code_tokens: public function getCompany ( $ companyId , $ fields = [ '*' ] ) { $ apiUrl = $ this -> getEndpoint ( 'companies' ) ; $ apiUrl .= $ companyId ; $ params = array ( 'fields' => implode ( ',' , $ fields ) ) ; $ apiData = $ this -> apiGet ( $ apiUrl , $ params ) ; return $ this -> decodeSingle ( $ apiData ) ; }
docstring: Get company information by ID
  
  @param integer $companyId
  @param array $fields
  @return \StdClass
  @throws \Exception
docstring_tokens: Get company information by ID