Completed
Push — v2.0.x ( 255948...c24837 )
by Florent
03:51
created
src/Loader.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param array  $data
48 48
      *
49
-     * @return \Jose\Object\JWSInterface|\Jose\Object\JWSInterface[]
49
+     * @return JWS
50 50
      */
51 51
     private static function loadSerializedJsonJWS(array $data)
52 52
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @param array  $data
76 76
      * @param string $input
77 77
      *
78
-     * @return \Jose\Object\JWEInterface|\Jose\Object\JWEInterface[]
78
+     * @return JWE
79 79
      */
80 80
     private static function loadSerializedJsonJWE(array $data, $input)
81 81
     {
@@ -111,6 +111,9 @@  discard block
 block discarded – undo
111 111
         return $jwe;
112 112
     }
113 113
 
114
+    /**
115
+     * @param string $input
116
+     */
114 117
     private static function convert($input)
115 118
     {
116 119
         if (is_array($data = json_decode($input, true))) {
@@ -179,7 +182,7 @@  discard block
 block discarded – undo
179 182
     }
180 183
 
181 184
     /**
182
-     * @param $input
185
+     * @param string $input
183 186
      *
184 187
      * @return array
185 188
      */
Please login to merge, or discard this patch.
src/Encrypter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -164,6 +164,9 @@
 block discarded – undo
164 164
         return $compressed_payload;
165 165
     }
166 166
 
167
+    /**
168
+     * @param string|null $cek
169
+     */
167 170
     private function getEncryptedKey(array $complete_headers, $cek, KeyEncryptionAlgorithmInterface $key_encryption_algorithm, ContentEncryptionAlgorithmInterface $content_encryption_algorithm, JWKInterface $recipient_key, JWKInterface $sender_key = null)
168 171
     {
169 172
         if ($key_encryption_algorithm instanceof KeyEncryptionInterface) {
Please login to merge, or discard this patch.