Skip to content

Commit 50620ee

Browse files
committed
add necessary use - docs
1 parent 5914102 commit 50620ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/JWT.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22

33
namespace Firebase\JWT;
4+
45
use \DomainException;
56
use \InvalidArgumentException;
67
use \UnexpectedValueException;
78
use \DateTime;
9+
use \Exception;
810

911
/**
1012
* JSON Web Token implementation, based on this spec:
@@ -214,6 +216,7 @@ public static function sign($msg, $key, $alg = 'HS256')
214216
* @return bool
215217
*
216218
* @throws DomainException Invalid Algorithm or OpenSSL failure
219+
* @throws \Exception
217220
*/
218221
private static function verify($msg, $signature, $key, $alg)
219222
{

0 commit comments

Comments
 (0)