Skip to content

Commit

Permalink
Merge pull request #1 from enrique-ibarra/master
Browse files Browse the repository at this point in the history
fixed call to ErrorException namespace
  • Loading branch information
amouhzi committed May 19, 2014
2 parents 16689a4 + 3366f12 commit e51c182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curl/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Curl {
public function __construct() {

if (!extension_loaded('curl')) {
throw new ErrorException('cURL library is not loaded');
throw new \ErrorException('cURL library is not loaded');
}

$this->curl = curl_init();
Expand Down

0 comments on commit e51c182

Please sign in to comment.