@@ -63,7 +63,7 @@ |
||
63 | 63 | * @param array $recipient_headers |
64 | 64 | * @param string|null $aad |
65 | 65 | * |
66 | - * @return \Jose\Object\JWSInterface |
|
66 | + * @return \Jose\Object\JWEInterface |
|
67 | 67 | */ |
68 | 68 | private static function createJWEAndEncrypt($payload, JWKInterface $recipient_key, array $shared_protected_headers = [], $shared_headers = [], $recipient_headers = [], $aad = null) |
69 | 69 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Jose\Object\JWEInterface; |
17 | 17 | use Jose\Object\JWKSetInterface; |
18 | 18 | use Jose\Object\JWSInterface; |
19 | -use Psr\Log\LoggerInterface; |
|
20 | 19 | |
21 | 20 | final class JWTLoader implements JWTLoaderInterface |
22 | 21 | { |
@@ -12,9 +12,7 @@ |
||
12 | 12 | namespace Jose\Object; |
13 | 13 | |
14 | 14 | use Assert\Assertion; |
15 | -use Base64Url\Base64Url; |
|
16 | 15 | use Jose\Factory\JWKFactory; |
17 | -use Webmozart\Assert\Assert; |
|
18 | 16 | |
19 | 17 | /** |
20 | 18 | * Class RotatableJWK. |