Completed
Push — analysis-ze70m4 ( 0e1d66 )
by Florent
37:07 queued 22:35
created
examples/Load1.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 require_once __DIR__.'/../vendor/autoload.php';
4 4
 
5
-use Jose\Checker\ExpirationChecker;
6 5
 use Jose\Checker\IssuedAtChecker;
7 6
 use Jose\Checker\NotBeforeChecker;
8 7
 use Jose\Factory\KeyFactory;
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.