Commit 9440f512 authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

Update Query.php

parent 51ca1190
...@@ -10,7 +10,7 @@ namespace Lavoisier; ...@@ -10,7 +10,7 @@ namespace Lavoisier;
use \Lavoisier\Hydrators\DefaultHydrator; use \Lavoisier\Hydrators\DefaultHydrator;
use \Lavoisier\Exceptions\HTTPStatusException; use \Lavoisier\Exceptions\HTTPStatusException;
use \Lavoisier\Exceptions\cURLException; use \Lavoisier\Exceptions\CurlLException;
use Lavoisier\Hydrators\IHydrator; use Lavoisier\Hydrators\IHydrator;
class Query class Query
...@@ -320,7 +320,7 @@ class Query ...@@ -320,7 +320,7 @@ class Query
} }
if (isset($resCURL['last_curl_error']) && (!empty($resCURL['last_curl_error']))) { if (isset($resCURL['last_curl_error']) && (!empty($resCURL['last_curl_error']))) {
throw new cURLException($this, $resCURL['last_curl_error']); throw new CurlLException($this, $resCURL['last_curl_error']);
} }
if (($this->operation === 'lavoisier')) { if (($this->operation === 'lavoisier')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment