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:
parent
8822d7bea0
commit
31f22b1750
@ -77,7 +77,7 @@ class RequestException extends TransferException
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$level = (int) ($response->getStatusCode() / 100);
|
$level = (int) floor($response->getStatusCode() / 100);
|
||||||
if ($level === 4) {
|
if ($level === 4) {
|
||||||
$label = 'Client error';
|
$label = 'Client error';
|
||||||
$className = __NAMESPACE__ . '\\ClientException';
|
$className = __NAMESPACE__ . '\\ClientException';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user