Completed
Push — master ( f18a6c...0902d6 )
by Patrick
04:10
created
src/TelegramLoginWidget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     private function checkAndGetResponseData(Collection $collection)
24 24
     {
25
-        $requiredAttributes = ['id', 'first_name', 'last_name', 'username', 'photo_url', 'auth_date', 'hash'];
25
+        $requiredAttributes = [ 'id', 'first_name', 'last_name', 'username', 'photo_url', 'auth_date', 'hash' ];
26 26
 
27 27
         $collection = $collection->only($requiredAttributes);
28 28
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
         $data = $collection->except('hash');
41 41
 
42
-        $data_check_string = $data->map(function ($item, $key) {
42
+        $data_check_string = $data->map(function($item, $key) {
43 43
             return $key.'='.$item;
44 44
         })
45 45
             ->values()
Please login to merge, or discard this patch.