Failed Conditions
Push — v7 ( a687dc...e264c8 )
by Florent
02:28
created
src/Component/Encryption/JWEBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
     }
270 270
 
271 271
     /**
272
-     * @param array  $recipient
272
+     * @param Recipient  $recipient
273 273
      * @param string $cek
274 274
      * @param array  $additionalHeaders
275 275
      *
Please login to merge, or discard this patch.
src/Component/Core/Util/ECKey.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param array $children
106
+     * @param ASNObject[] $children
107 107
      *
108 108
      * @return array
109 109
      */
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     }
267 267
 
268 268
     /**
269
-     * @param array $children
269
+     * @param ASNObject[] $children
270 270
      *
271 271
      * @return bool
272 272
      */
Please login to merge, or discard this patch.
tests/Context/KeyContext.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,10 +13,7 @@
 block discarded – undo
13 13
 
14 14
 namespace Jose\Test\Context;
15 15
 
16
-use Behat\Gherkin\Node\PyStringNode;
17 16
 use Jose\Component\KeyManagement\JKUFactory;
18
-use Symfony\Bundle\FrameworkBundle\Console\Application;
19
-use Symfony\Component\Console\Tester\CommandTester;
20 17
 use Behat\Behat\Context\Context;
21 18
 use Behat\Symfony2Extension\Context\KernelDictionary;
22 19
 
Please login to merge, or discard this patch.
src/Component/KeyManagement/KeyConverter/ECKey.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param array $children
106
+     * @param ASNObject[] $children
107 107
      *
108 108
      * @return array
109 109
      */
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     }
267 267
 
268 268
     /**
269
-     * @param array $children
269
+     * @param ASNObject[] $children
270 270
      *
271 271
      * @return bool
272 272
      */
Please login to merge, or discard this patch.
src/Component/Core/Util/Ecc/Math/GmpMath.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * {@inheritDoc}
75 75
      * @see GmpMath::pow()
76
+     * @param integer $exponent
76 77
      */
77 78
     public function pow(\GMP $base, $exponent)
78 79
     {
@@ -91,6 +92,7 @@  discard block
 block discarded – undo
91 92
     /**
92 93
      * {@inheritDoc}
93 94
      * @see GmpMath::rightShift()
95
+     * @param integer $positions
94 96
      */
95 97
     public function rightShift(\GMP $number, $positions)
96 98
     {
@@ -138,6 +140,7 @@  discard block
 block discarded – undo
138 140
     /**
139 141
      * {@inheritDoc}
140 142
      * @see GmpMath::decHex()
143
+     * @param string $dec
141 144
      */
142 145
     public function decHex($dec)
143 146
     {
@@ -273,6 +276,9 @@  discard block
 block discarded – undo
273 276
     /**
274 277
      * {@inheritDoc}
275 278
      * @see GmpMath::baseConvert()
279
+     * @param string $number
280
+     * @param integer $from
281
+     * @param integer $to
276 282
      */
277 283
     public function baseConvert($number, $from, $to)
278 284
     {
Please login to merge, or discard this patch.
src/Component/Core/Util/Ecc/Math/ModularArithmetic.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param \GMP $minuend
28
+     * @param resource $minuend
29 29
      * @param \GMP $subtrahend
30 30
      * @return \GMP
31 31
      */
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-     * @param \GMP $dividend
49
-     * @param \GMP $divisor
48
+     * @param resource $dividend
49
+     * @param resource $divisor
50 50
      * @return \GMP
51 51
      */
52 52
     public function div(\GMP $dividend, \GMP $divisor): \GMP
Please login to merge, or discard this patch.
src/Component/Core/Util/Ecc/Math/NumberTheory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param array $base
128
+     * @param \GMP[] $base
129 129
      * @param \GMP $exponent
130 130
      * @param array $polymod
131 131
      * @param \GMP $p
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     }
170 170
 
171 171
     /**
172
-     * @param \GMP $a
172
+     * @param resource $a
173 173
      * @param \GMP $p
174 174
      * @return \GMP
175 175
      */
Please login to merge, or discard this patch.
src/Component/Core/Util/Ecc/Primitives/Point.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@
 block discarded – undo
305 305
     /**
306 306
      * @param $a
307 307
      * @param $b
308
-     * @param $cond
308
+     * @param integer $cond
309 309
      */
310 310
     public function cswapValue(& $a, & $b, $cond)
311 311
     {
Please login to merge, or discard this patch.