We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478e1d2 commit adc63d2Copy full SHA for adc63d2
src/VAPID.php
@@ -39,7 +39,7 @@ public static function validate(array $vapid)
39
40
$publicKey = Base64Url::decode($vapid['publicKey']);
41
42
- if (Utils::safe_strlen($publicKey) !== 65) {
+ if (Utils::safeStrlen($publicKey) !== 65) {
43
throw new \ErrorException('[VAPID] Public key should be 65 bytes long when decoded.');
44
}
45
@@ -49,7 +49,7 @@ public static function validate(array $vapid)
49
50
$privateKey = Base64Url::decode($vapid['privateKey']);
51
52
- if (Utils::safe_strlen($privateKey) !== 32) {
+ if (Utils::safeStrlen($privateKey) !== 32) {
53
throw new \ErrorException('[VAPID] Private key should be 32 bytes long when decoded.');
54
55
0 commit comments