Completed
Push — master ( e237a8...dcd9e0 )
by Michał
02:01
created
id/protocols/oauth1/Provider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function identify(auth\Credentials $credentials) : Promise
96 96
     {
97
-        return $this->request('GET', $this->getIdentifyUrl(), $credentials)->then(function (array $data) use ($credentials) {
97
+        return $this->request('GET', $this->getIdentifyUrl(), $credentials)->then(function(array $data) use ($credentials) {
98 98
             return $this->createIdentity($credentials, $data);
99 99
         });
100 100
     }
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     {
161 161
         return $this->getHttpClient()
162 162
             ->requestAsync('POST', $url, array_merge_recursive($this->getDefaultRequestOptions($temporary), $options))
163
-            ->then(function (Response $response) use($temporary) {
163
+            ->then(function(Response $response) use($temporary) {
164 164
 
165 165
                 // We are assuming a form-encoded body here - for any Provider that does not return those in this format
166 166
                 // for handshakes and exchanges this will require refactoring.
Please login to merge, or discard this patch.
id/protocols/oauth1/providers/Twitter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function getIdentifyUrl() : string
35 35
     {
36
-        return static::URL_IDENTIFY . $this->shouldProvideEmailAddress() ? '?include_email=true' : '';
36
+        return static::URL_IDENTIFY.$this->shouldProvideEmailAddress() ? '?include_email=true' : '';
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
id/identities/Twitter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @return  string
62 62
      */
63
-    public function getDescription() : ?string
63
+    public function getDescription() : ? string
64 64
     {
65 65
         return $this->description;
66 66
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      *
71 71
      * @return  string
72 72
      */
73
-    public function getLocation() : ?string
73
+    public function getLocation() : ? string
74 74
     {
75 75
         return $this->location;
76 76
     }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      *
81 81
      * @return  int
82 82
      */
83
-    public function getFollowersCount() : ?int
83
+    public function getFollowersCount() : ? int
84 84
     {
85 85
         return $this->followersCount;
86 86
     }
Please login to merge, or discard this patch.