Skip to content

Commit

Permalink
feat: make parseKey public (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Jun 22, 2021
1 parent 3c2d70f commit c63c1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JWK.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function parseKeySet(array $jwks)
*
* @uses createPemFromModulusAndExponent
*/
private static function parseKey(array $jwk)
public static function parseKey(array $jwk)
{
if (empty($jwk)) {
throw new InvalidArgumentException('JWK must not be empty');
Expand Down

0 comments on commit c63c1a7

Please sign in to comment.