Completed
Push — v2.0.x ( 7a58b6 )
by Florent
24:58
created
src/Encrypter.old.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -447,7 +447,7 @@
 block discarded – undo
447 447
      * @param array                                         $protected_header
448 448
      * @param array                                         $unprotected_header
449 449
      *
450
-     * @return \Jose\Algorithm\ContentEncryption\ContentEncryptionInterface
450
+     * @return ContentEncryptionAlgorithmInterface
451 451
      */
452 452
     private function getContentEncryptionAlgorithm(array $instructions, array $protected_header = [], array $unprotected_header = [])
453 453
     {
Please login to merge, or discard this patch.
src/Encrypter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
     }
185 185
 
186 186
     /**
187
-     * @param array $complete_headers
187
+     * @param Object\EncryptionInstructionInterface[] $complete_headers
188 188
      *
189 189
      * @return \Jose\Algorithm\ContentEncryptionAlgorithmInterface
190 190
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Jose;
13 13
 
14
-use Base64Url\Base64Url;
15 14
 use Jose\Algorithm\ContentEncryptionAlgorithmInterface;
16 15
 use Jose\Algorithm\JWAManagerInterface;
17 16
 use Jose\Algorithm\KeyEncryption\DirectEncryptionInterface;
Please login to merge, or discard this patch.
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/Verifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     /**
86 86
      * @param \Jose\Object\SignatureInterface $signature
87 87
      *
88
-     * @return \Jose\Algorithm\Signature\SignatureAlgorithmInterface|null
88
+     * @return Object\JWKInterface
89 89
      */
90 90
     private function getAlgorithm(SignatureInterface $signature)
91 91
     {
Please login to merge, or discard this patch.