]> _ Git - cubist_socialite.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Oct 2021 17:30:41 +0000 (19:30 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 7 Oct 2021 17:30:41 +0000 (19:30 +0200)
composer.lock
src/User.php

index 2152b3b7255bc5c92be72dc153c6bb7282052981..f13290589c4f299a1b54aec5c5df8377131e88ec 100644 (file)
@@ -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",
         },
         {
             "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": {
                     "providers": [
                         "Spatie\\Permission\\PermissionServiceProvider"
                     ]
-                },
-                "branch-alias": {
-                    "dev-main": "5.x-dev",
-                    "dev-master": "5.x-dev"
                 }
             },
             "autoload": {
             ],
             "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": [
                 {
                     "type": "github"
                 }
             ],
-            "time": "2021-09-01T20:02:17+00:00"
+            "time": "2021-09-01T17:40:58+00:00"
         },
         {
             "name": "swiftmailer/swiftmailer",
index ae1aa747d5d1a9870163cabf56017e75c21cb834..c74a05b4b2f50ab8d72c6a2a3326966d88557f34 100644 (file)
@@ -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