From 1404cf73501d8bb06a71bcafa9a8bdaa492215b9 Mon Sep 17 00:00:00 2001 From: Chetan Date: Fri, 26 May 2023 12:34:30 +0530 Subject: [PATCH 1/2] Fix: Laravel 10 --- src/Traits/HasAttributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/HasAttributes.php b/src/Traits/HasAttributes.php index 3642f44..1a3c3cf 100644 --- a/src/Traits/HasAttributes.php +++ b/src/Traits/HasAttributes.php @@ -49,7 +49,7 @@ public function getIncrementing() public function getDates() { - return $this->dates; + return $this->dates ?? []; } /** From e2f130d501da802fec13dbb66d9f7ca7b589026e Mon Sep 17 00:00:00 2001 From: Chetan Date: Fri, 26 May 2023 12:34:43 +0530 Subject: [PATCH 2/2] Fix: Missing Package --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 3f7f8a6..ea665f9 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "php": "^7.3|^8.0|^8.1", "nesbot/carbon": "^1.26.3 || ^2.0", "guzzlehttp/guzzle": "~7.0|~6.0|~5.0|~4.0", + "guzzlehttp/oauth-subscriber": "^0.6.0", "firebase/php-jwt": "^5.0", "illuminate/support": "^7.0|^8.0|^9.0|^10.0", "macsidigital/laravel-oauth2-client": "^1.2|^2.0"