summaryrefslogtreecommitdiffstats
path: root/lib/Fetcher/Client
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-11-20 20:52:54 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-25 18:47:38 +0100
commit2baa7a2b9136d4d4dc1e56dfc043cc71da3ee1df (patch)
treed8f970ce85442869ad9547f80f70153a31820563 /lib/Fetcher/Client
parent8b519cd234b1293e03ef288617287be1a30cfc75 (diff)
Make PHPstan stricter
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Fetcher/Client')
-rw-r--r--lib/Fetcher/Client/FeedIoClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fetcher/Client/FeedIoClient.php b/lib/Fetcher/Client/FeedIoClient.php
index 3a1427e84..ac1f62a1f 100644
--- a/lib/Fetcher/Client/FeedIoClient.php
+++ b/lib/Fetcher/Client/FeedIoClient.php
@@ -61,7 +61,7 @@ class FeedIoClient implements ClientInterface
return new Response($psrResponse, $duration);
} catch (BadResponseException $e) {
- switch ((int) $e->getResponse()->getStatusCode()) {
+ switch ($e->getResponse()->getStatusCode()) {
case 404:
throw new NotFoundException($e->getMessage());
default: