@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | |
252 | 252 | $response = $this->getResponse($this->createRequest(static::METHOD_GET, $url, $token, []))['response']; |
253 | 253 | $users = !empty($response['items']) ? $response['items'] : $response; |
254 | - $array2user = function ($userData) { |
|
254 | + $array2user = function($userData) { |
|
255 | 255 | return new User($userData); |
256 | 256 | }; |
257 | 257 | |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | |
283 | 283 | $response = $this->getResponse($this->createRequest(static::METHOD_GET, $url, $token, []))['response']; |
284 | 284 | $friends = !empty($response['items']) ? $response['items'] : $response; |
285 | - $array2friend = function ($friendData) { |
|
285 | + $array2friend = function($friendData) { |
|
286 | 286 | if (is_numeric($friendData)) { |
287 | 287 | $friendData = ['id' => $friendData]; |
288 | 288 | } |