From b648d430829f4e53d78db6add2890cda7c9f86dc Mon Sep 17 00:00:00 2001 From: kdrmlhcn Date: Tue, 30 Apr 2024 10:37:04 +0300 Subject: [PATCH] Add InstagramAuthException class for handling authentication errors --- src/Instagram/Transport/JsonProfileDataFeedV2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Instagram/Transport/JsonProfileDataFeedV2.php b/src/Instagram/Transport/JsonProfileDataFeedV2.php index 0c50e88..fe7fa8e 100644 --- a/src/Instagram/Transport/JsonProfileDataFeedV2.php +++ b/src/Instagram/Transport/JsonProfileDataFeedV2.php @@ -5,6 +5,7 @@ namespace Instagram\Transport; use Instagram\Exception\InstagramFetchException; +use Instagram\Exception\InstagramAuthException; use Instagram\Utils\InstagramHelper; class JsonProfileDataFeedV2 extends AbstractDataFeed @@ -14,7 +15,7 @@ class JsonProfileDataFeedV2 extends AbstractDataFeed * * @return \StdClass * - * @throws InstagramFetchException + * @throws InstagramFetchException|InstagramAuthException */ public function fetchData(string $username): \StdClass {