1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 10:03:27 +01:00

fix equals to identical

This commit is contained in:
Alexander Cheprasov 2016-06-30 18:30:21 +01:00
parent 8822d7bea0
commit 31f22b1750

View File

@ -77,7 +77,7 @@ class RequestException extends TransferException
);
}
$level = (int) ($response->getStatusCode() / 100);
$level = (int) floor($response->getStatusCode() / 100);
if ($level === 4) {
$label = 'Client error';
$className = __NAMESPACE__ . '\\ClientException';