diff --git a/src/Object/JWE.php b/src/Object/JWE.php index db9a07f9..3c340a43 100644 --- a/src/Object/JWE.php +++ b/src/Object/JWE.php @@ -51,15 +51,15 @@ final class JWE extends JWT implements JWEInterface /** * JWE constructor. * - * @param string $input - * @param string $ciphertext - * @param string|null $encrypted_key - * @param string|null $iv - * @param string|null $aad - * @param string|null $tag - * @param string|null $encoded_protected_header - * @param array $unprotected_header - * @param string|null $payload + * @param string $input + * @param string $ciphertext + * @param string|null $encrypted_key + * @param string|null $iv + * @param string|null $aad + * @param string|null $tag + * @param string|null $encoded_protected_header + * @param array $unprotected_header + * @param string|null $payload */ public function __construct($input, $ciphertext, $encrypted_key = null, $iv = null, $aad = null, $tag = null, $encoded_protected_header = null, $unprotected_header = [], $payload = null) { diff --git a/tests/Operation/EncrypterTest.php b/tests/Operation/EncrypterTest.php index df3a7906..99b71000 100644 --- a/tests/Operation/EncrypterTest.php +++ b/tests/Operation/EncrypterTest.php @@ -133,7 +133,7 @@ public function testMultipleInstructionsNotAllowedWithCompactSerialization() JSONSerializationModes::JSON_COMPACT_SERIALIZATION, [ 'enc' => 'A256CBC-HS512', - 'alg' => 'RSA-OAEP' + 'alg' => 'RSA-OAEP', ], [] );