@@ -22,7 +22,7 @@ discard block |
||
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 |
||
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() |