From ac3e28f67faed25343d9bd339ce480a6ae13e49e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Preu=C3=9F?= Date: Wed, 30 Jul 2025 21:52:09 +0200 Subject: [PATCH 1/2] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f47b604..99a7dc5 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "require": { "php": "^8.1", "ext-json": "*", - "illuminate/support": "^11.0|^12.0", - "illuminate/console": "^11.0|^12.0", + "illuminate/support": "^10.0|^11.0|^12.0", + "illuminate/console": "^10.0|^11.0|^12.0", "guzzlehttp/guzzle": "^6.3|^7.0", "socialiteproviders/manager": "^3.4|^4.0.1", "firebase/php-jwt": "^6.0" @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} From 8232de4003fa8b32f7f8d0eebe15f21844897cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Preu=C3=9F?= Date: Wed, 30 Jul 2025 23:08:13 +0200 Subject: [PATCH 2/2] Update OauthTrait.php --- src/Id/OauthTrait.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Id/OauthTrait.php b/src/Id/OauthTrait.php index 0d4da65..c89740e 100644 --- a/src/Id/OauthTrait.php +++ b/src/Id/OauthTrait.php @@ -23,13 +23,11 @@ trait OauthTrait ], ]); - $result = new Result($response, null); + $result = new Result($response, null, $this); } catch (RequestException $exception) { - $result = new Result($exception->getResponse(), $exception); + $result = new Result($exception->getResponse(), $exception, $this); } - $result->anikeenId = $this; - return $result; } -} \ No newline at end of file +}