Skip to content

Commit adc63d2

Browse files
committed
fix merge
1 parent 478e1d2 commit adc63d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VAPID.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function validate(array $vapid)
3939

4040
$publicKey = Base64Url::decode($vapid['publicKey']);
4141

42-
if (Utils::safe_strlen($publicKey) !== 65) {
42+
if (Utils::safeStrlen($publicKey) !== 65) {
4343
throw new \ErrorException('[VAPID] Public key should be 65 bytes long when decoded.');
4444
}
4545

@@ -49,7 +49,7 @@ public static function validate(array $vapid)
4949

5050
$privateKey = Base64Url::decode($vapid['privateKey']);
5151

52-
if (Utils::safe_strlen($privateKey) !== 32) {
52+
if (Utils::safeStrlen($privateKey) !== 32) {
5353
throw new \ErrorException('[VAPID] Private key should be 32 bytes long when decoded.');
5454
}
5555

0 commit comments

Comments
 (0)