From: Vincent Vanwaelscappel Date: Thu, 7 Oct 2021 17:30:41 +0000 (+0200) Subject: wip #4765 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bdbc93ef498612908422b1c939490b1618cf6281;p=cubist_socialite.git wip #4765 --- diff --git a/composer.lock b/composer.lock index 2152b3b..f132905 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8b8015300b432692677e4ad1b680c0e0", + "content-hash": "185c9aad8ba67b778a1458bca411cbdf", "packages": [ { "name": "brick/math", @@ -2690,16 +2690,16 @@ }, { "name": "spatie/laravel-permission", - "version": "5.1.1", + "version": "4.4.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "58d5eb6c7b0eafa8bdf0a93d1ca5c214a05344cb" + "reference": "3c9d7ae7683081ee90a4e2297f4e58aff3492a1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/58d5eb6c7b0eafa8bdf0a93d1ca5c214a05344cb", - "reference": "58d5eb6c7b0eafa8bdf0a93d1ca5c214a05344cb", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/3c9d7ae7683081ee90a4e2297f4e58aff3492a1e", + "reference": "3c9d7ae7683081ee90a4e2297f4e58aff3492a1e", "shasum": "" }, "require": { @@ -2720,10 +2720,6 @@ "providers": [ "Spatie\\Permission\\PermissionServiceProvider" ] - }, - "branch-alias": { - "dev-main": "5.x-dev", - "dev-master": "5.x-dev" } }, "autoload": { @@ -2760,7 +2756,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/5.1.1" + "source": "https://github.com/spatie/laravel-permission/tree/4.4.1" }, "funding": [ { @@ -2768,7 +2764,7 @@ "type": "github" } ], - "time": "2021-09-01T20:02:17+00:00" + "time": "2021-09-01T17:40:58+00:00" }, { "name": "swiftmailer/swiftmailer", diff --git a/src/User.php b/src/User.php index ae1aa74..c74a05b 100644 --- a/src/User.php +++ b/src/User.php @@ -32,7 +32,7 @@ class User implements public function __construct($socialiteUser) { - $this->socialiteUser=$socialiteUser; + $this->socialiteUser = $socialiteUser; } /** @@ -75,4 +75,9 @@ class User implements return $this->socialiteUser->getId(); } + public function getKeyName() + { + return $this->getId(); + } + } \ No newline at end of file