@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param Key $management_key |
35 | - * @param $key_management_mode |
|
35 | + * @param string $key_management_mode |
|
36 | 36 | * @param ContentEncryptionAlgorithm $enc |
37 | 37 | * @return Key |
38 | 38 | * @throws \Exception |
@@ -23,7 +23,7 @@ |
||
23 | 23 | final class IVFactory { |
24 | 24 | |
25 | 25 | /** |
26 | - * @param $size |
|
26 | + * @param integer $size |
|
27 | 27 | * @return string |
28 | 28 | */ |
29 | 29 | static public function build($size){ |
@@ -144,7 +144,7 @@ |
||
144 | 144 | |
145 | 145 | /** |
146 | 146 | * @param PrivateKey $private_key |
147 | - * @return IAsymmetricJWK|null |
|
147 | + * @return RSAJWK |
|
148 | 148 | * @throws InvalidJWKType |
149 | 149 | */ |
150 | 150 | static public function fromPrivateKey(PrivateKey $private_key) |
@@ -39,7 +39,6 @@ |
||
39 | 39 | use jwt\utils\JOSEHeaderSerializer; |
40 | 40 | use jwt\utils\JWTClaimSetSerializer; |
41 | 41 | use jwt\utils\JWTRawSerializer; |
42 | -use utils\json_types\JsonArray; |
|
43 | 42 | use utils\json_types\JsonValue; |
44 | 43 | use utils\json_types\StringOrURI; |
45 | 44 |