Completed
Push — v2.0.x ( 59a3d4...b06cab )
by Florent
03:22
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,8 +216,8 @@
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param $current
220
-     * @param $new
219
+     * @param string $current
220
+     * @param string $new
221 221
      *
222 222
      * @return bool
223 223
      */
Please login to merge, or discard this patch.