diff --git a/lib/Shuber/Curl/Curl.php b/lib/Shuber/Curl/Curl.php index f9e3620..417ad76 100644 --- a/lib/Shuber/Curl/Curl.php +++ b/lib/Shuber/Curl/Curl.php @@ -2,7 +2,7 @@ namespace Shuber\Curl; -use \InvalidArgumentExceptionn; +use \InvalidArgumentException; use \ReflectionObject; /** @@ -424,7 +424,7 @@ protected function setRequestOptions($url, $method, $vars, $put_data) if (!empty($vars)) { if ('POST' != $method) { - throw new InvalidArgumentExceptionn('POST-vars may only be set for a POST-Request.'); + throw new InvalidArgumentException('POST-vars may only be set for a POST-Request.'); } curl_setopt($this->request, CURLOPT_POSTFIELDS, $vars); } elseif ('POST' == $method)