Skip to content

Commit e51c182

Browse files
committed
Merge pull request #1 from enrique-ibarra/master
fixed call to ErrorException namespace
2 parents 16689a4 + 3366f12 commit e51c182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Curl/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Curl {
3939
public function __construct() {
4040

4141
if (!extension_loaded('curl')) {
42-
throw new ErrorException('cURL library is not loaded');
42+
throw new \ErrorException('cURL library is not loaded');
4343
}
4444

4545
$this->curl = curl_init();

0 commit comments

Comments
 (0)