Completed
Push — master ( 65e224...f25ceb )
by Florent
03:47
created
src/Algorithm/KeyEncryption/ECDHES.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
     /**
208 208
      * @param string $value
209 209
      *
210
-     * @return \GMP
210
+     * @return resource
211 211
      */
212 212
     private function convertBase64ToGmp($value)
213 213
     {
Please login to merge, or discard this patch.
src/Algorithm/Signature/ECDSA.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @param string                    $R
124 124
      * @param string                    $S
125 125
      *
126
-     * @return string
126
+     * @return boolean
127 127
      */
128 128
     private function verifyOpenSSLSignature(JWKInterface $key, $data, $R, $S)
129 129
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @param string                    $R
145 145
      * @param string                    $S
146 146
      *
147
-     * @return string
147
+     * @return boolean
148 148
      */
149 149
     private function verifyPHPECCSignature(JWKInterface $key, $data, $R, $S)
150 150
     {
@@ -215,9 +215,9 @@  discard block
 block discarded – undo
215 215
     }
216 216
 
217 217
     /**
218
-     * @param $value
218
+     * @param string $value
219 219
      *
220
-     * @return \GMP
220
+     * @return resource
221 221
      */
222 222
     private function convertHexToGmp($value)
223 223
     {
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * @param $value
229 229
      *
230
-     * @return \GMP
230
+     * @return resource
231 231
      */
232 232
     private function convertBase64ToGmp($value)
233 233
     {
Please login to merge, or discard this patch.
src/Factory/JWEFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * @param array                         $recipient_headers
64 64
      * @param string|null                   $aad
65 65
      *
66
-     * @return \Jose\Object\JWSInterface
66
+     * @return \Jose\Object\JWEInterface
67 67
      */
68 68
     private static function createJWEAndEncrypt($payload, JWKInterface $recipient_key, array $shared_protected_headers = [], $shared_headers = [], $recipient_headers = [], $aad = null)
69 69
     {
Please login to merge, or discard this patch.
src/JWTLoader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Jose\Object\JWEInterface;
17 17
 use Jose\Object\JWKSetInterface;
18 18
 use Jose\Object\JWSInterface;
19
-use Psr\Log\LoggerInterface;
20 19
 
21 20
 final class JWTLoader implements JWTLoaderInterface
22 21
 {
Please login to merge, or discard this patch.
src/Object/RotatableJWK.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
 namespace Jose\Object;
13 13
 
14 14
 use Assert\Assertion;
15
-use Base64Url\Base64Url;
16 15
 use Jose\Factory\JWKFactory;
17
-use Webmozart\Assert\Assert;
18 16
 
19 17
 /**
20 18
  * Class RotatableJWK.
Please login to merge, or discard this patch.