original_string: public function authenticate($username, $token) {
          if (empty($username) || empty($token)) {
              throw new \ErrorException('No username or token supplied.');
          }
          
          $this->username = $username;
          $this->token = $token;
      }
code: public function authenticate($username, $token) {
          if (empty($username) || empty($token)) {
              throw new \ErrorException('No username or token supplied.');
          }
          
          $this->username = $username;
          $this->token = $token;
      }
code_tokens: public function authenticate ( $ username , $ token ) { if ( empty ( $ username ) || empty ( $ token ) ) { throw new \ ErrorException ( 'No username or token supplied.' ) ; } $ this -> username = $ username ; $ this -> token = $ token ; }
docstring: Set API credentials
  
  @param string $username API username
  @param string $token API token
docstring_tokens: Set API credentials