2 parents 0f298d8 + 4de84dd commit 6266faeCopy full SHA for 6266fae
2 files changed
src/Client/VKontakte.php
@@ -30,7 +30,7 @@ final class VKontakte extends OAuth2
30
protected string $tokenUrl = 'https://id.vk.ru/oauth2/auth';
31
32
protected string $endpoint = 'https://id.vk.ru/oauth2/user_info';
33
-
+
34
/**
35
* Example answer: [
36
* 'access_token' => 'XXXXX',
src/Signature/HmacSha.php
@@ -21,8 +21,7 @@ public function __construct(/**
21
* @link https://php.net/manual/ru/function.hash-algos.php
22
*/
23
private readonly string $algorithm
24
- )
25
- {
+ ) {
26
if (!function_exists('hash_hmac')) {
27
throw new NotSupportedException('PHP "Hash" extension is required.');
28
}
0 commit comments