Permalink
Browse files

Use CURLAUTH_BASIC instead of GuzzleRequestInterface::AUTH_BASIC as t…

…his is what $guzzleRequest->setAuth() expects
  • Loading branch information...
1 parent 4e25eca commit f0d6027748ae6ebc4d7fe9c468bd285f147b7a36 @fabian fabian committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Goutte/Client.php
View
@@ -59,7 +59,7 @@ public function setHeader($name, $value)
return $this;
}
- public function setAuth($user, $password = '', $type = GuzzleRequestInterface::AUTH_BASIC)
+ public function setAuth($user, $password = '', $type = CURLAUTH_BASIC)
{
$this->auth = array(
'user' => $user,

0 comments on commit f0d6027

Please sign in to comment.