Completed
Push — master ( 50beb4...8d6a23 )
by Michał
02:12
created
id/protocols/oauth2/providers/LinkedIn.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
     public function getIdentifyUrl() : string
44 44
     {
45 45
         $fields = [
46
-            'id',                   'first-name',   'last-name',    'formatted-name',
47
-            'email-address',        'headline',     'location',     'industry',
48
-            'public-profile-url',   'picture-url',
46
+            'id', 'first-name', 'last-name', 'formatted-name',
47
+            'email-address', 'headline', 'location', 'industry',
48
+            'public-profile-url', 'picture-url',
49 49
         ];
50 50
 
51 51
         // Talk about proprietary 'standards'...
Please login to merge, or discard this patch.
id/protocols/oauth2/providers/Bitbucket.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
             // Intercept the flow - instead of directly returning a Promise for the entity's identity data,
51 51
             // we will now return a Promise that resolves once both the email and identity
52 52
             // data have been resolved and the email has been mapped into the identity data.
53
-            $promise = $this->getEmail($token)->then(function ($email) use ($token, $promise) {
53
+            $promise = $this->getEmail($token)->then(function($email) use ($token, $promise) {
54 54
 
55 55
                 // Map the e-mail address in once the identity data is available (has successfully resolved).
56
-                return $promise->then(function (array $data) use ($token, $email) {
56
+                return $promise->then(function(array $data) use ($token, $email) {
57 57
 
58 58
                     $data['email'] = $email ?? $data['email'];
59 59
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             });
63 63
         }
64 64
 
65
-        return $promise->then(function (array $data) use ($token) {
65
+        return $promise->then(function(array $data) use ($token) {
66 66
             return $this->createIdentity($token, $data);
67 67
         });
68 68
     }
Please login to merge, or discard this patch.