Skip to content

Commit 59803b4

Browse files
committed
🚿
1 parent 1045bc3 commit 59803b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Key/OpenSSLKeyAbstract.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ abstract protected static function toArray(
2424
):array;
2525

2626
public static function pemToPrivateJWK(string $pem, string|null $kid = null, string|null $use = null):array{
27+
/** @phan-suppress-next-line PhanAbstractStaticMethodCallInStatic */
2728
return static::toArray(Util::loadPEM($pem), true, $kid, $use);
2829
}
2930

3031
public static function pemToPublicJWK(string $pem, string|null $kid = null, string|null $use = null):array{
32+
/** @phan-suppress-next-line PhanAbstractStaticMethodCallInStatic */
3133
return static::toArray(Util::loadPEM($pem), false, $kid, $use);
3234
}
3335

tests/Algorithms/Signature/RSAPSSTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use chillerlan\JOSE\Algorithms\Signature\RSAPSS;
1515
use chillerlan\JOSE\Key\RSAKey;
16-
use chillerlan\JOSE\Util;
1716
use chillerlan\JOSETest\RFC7520Examples;
1817
use PHPUnit\Framework\Attributes\DataProvider;
1918
use PHPUnit\Framework\Attributes\Test;

0 commit comments

Comments
 (0)