Skip to content

Commit 25f96b4

Browse files
committed
Bugfix
1 parent 2f36bff commit 25f96b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Provider/AbstractHttpProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function getUrlContents($url)
5959
throw new InvalidCredentials();
6060
} elseif (429 === $statusCode) {
6161
throw new QuotaExceeded();
62-
} elseif (300 >= $statusCode) {
62+
} elseif ($statusCode >= 300) {
6363
throw InvalidServerResponse::create($url, $statusCode);
6464
}
6565

0 commit comments

Comments
 (0)