original_string: public function getUser($login)
  	{
  		if (strlen($login) < 1) {
  			throw new InvalidArgumentException("Login can't be empty");
  		}
  		$client = new CouchClient($this->client->dsn(), $this->usersdb, $this->client->options());
  		return $client->getDoc("org.couchdb.user:" . $login);
  	}
code: public function getUser($login)
  	{
  		if (strlen($login) < 1) {
  			throw new InvalidArgumentException("Login can't be empty");
  		}
  		$client = new CouchClient($this->client->dsn(), $this->usersdb, $this->client->options());
  		return $client->getDoc("org.couchdb.user:" . $login);
  	}
code_tokens: public function getUser ( $ login ) { if ( strlen ( $ login ) < 1 ) { throw new InvalidArgumentException ( "Login can't be empty" ) ; } $ client = new CouchClient ( $ this -> client -> dsn ( ) , $ this -> usersdb , $ this -> client -> options ( ) ) ; return $ client -> getDoc ( "org.couchdb.user:" . $ login ) ; }
docstring: returns the document of a user
  
  @param string $login login of the user to fetch
  @return stdClass CouchDB document
  @throws InvalidArgumentException
docstring_tokens: returns the document of a user