original_string: public function getCreditLeft()
      {
          $this->checkCredentialManagementRights();
  
          $credential = $this->getSMSAPICredential();
          $SMSProvider = SMSProvider::factory($credential[MobileMessaging::PROVIDER_OPTION]);
          return $SMSProvider->getCreditLeft(
              $credential[MobileMessaging::API_KEY_OPTION]
          );
      }
code: public function getCreditLeft()
      {
          $this->checkCredentialManagementRights();
  
          $credential = $this->getSMSAPICredential();
          $SMSProvider = SMSProvider::factory($credential[MobileMessaging::PROVIDER_OPTION]);
          return $SMSProvider->getCreditLeft(
              $credential[MobileMessaging::API_KEY_OPTION]
          );
      }
code_tokens: public function getCreditLeft ( ) { $ this -> checkCredentialManagementRights ( ) ; $ credential = $ this -> getSMSAPICredential ( ) ; $ SMSProvider = SMSProvider :: factory ( $ credential [ MobileMessaging :: PROVIDER_OPTION ] ) ; return $ SMSProvider -> getCreditLeft ( $ credential [ MobileMessaging :: API_KEY_OPTION ] ) ; }
docstring: get remaining credit
  
  @return string remaining credit
docstring_tokens: get remaining credit