Completed
Push — master ( a22894...37130c )
by thomas
62:03 queued 58:09
created
src/Crypto/Hash.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * @param string $algo
116 116
      * @param BufferInterface $data
117 117
      * @param BufferInterface $salt
118
-     * @return BufferInterface
118
+     * @return EcAdapter\Adapter\EcAdapterInterface
119 119
      */
120 120
     public static function hmac($algo, BufferInterface $data, BufferInterface $salt)
121 121
     {
Please login to merge, or discard this patch.
src/Transaction/Factory/TxBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @param BufferInterface|string $hashPrevOut - hex or BufferInterface
114
+     * @param BufferInterface $hashPrevOut - hex or BufferInterface
115 115
      * @param int $nPrevOut
116 116
      * @param Script|null $script
117 117
      * @param int $nSequence
Please login to merge, or discard this patch.
src/PaymentProtocol/RequestSigner.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -259,8 +259,8 @@
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @param $certData
263
-     * @return array
262
+     * @param string $certData
263
+     * @return string
264 264
      */
265 265
     private function der2pem($certData)
266 266
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Adapter/EcAdapter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     }
333 333
 
334 334
     /**
335
-     * @param \GMP $element
335
+     * @param resource $element
336 336
      * @param bool $half
337 337
      * @return bool
338 338
      */
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
     }
373 373
 
374 374
     /**
375
-     * @param \GMP $xCoord
375
+     * @param resource $xCoord
376 376
      * @param string $prefix
377 377
      * @return int|string
378 378
      * @throws \Exception
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Key/PublicKey.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param int|string $tweak
69
-     * @return PublicKeyInterface
69
+     * @return \BitWasp\Bitcoin\Crypto\EcAdapter\Key\KeyInterface
70 70
      */
71 71
     public function tweakAdd($tweak)
72 72
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use \BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Adapter\EcAdapter as Secp256k1Adapter;
15 15
 use BitWasp\Bitcoin\Transaction\SignatureHash\SignatureHashInterface;
16 16
 use BitWasp\Bitcoin\Transaction\TransactionInterface;
17
-use BitWasp\Buffertools\Buffer;
18 17
 use BitWasp\Buffertools\BufferInterface;
19 18
 
20 19
 class TxSigner
Please login to merge, or discard this patch.
src/Math/BinaryMath.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @param \GMP $integer
32
+     * @param resource $integer
33 33
      * @param int $bitSize
34 34
      * @return bool
35 35
      */
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param \GMP $integer
42
+     * @param resource $integer
43 43
      * @param int $bitSize
44
-     * @return \GMP
44
+     * @return resource
45 45
      */
46 46
     public function makeNegative(\GMP $integer, $bitSize)
47 47
     {
Please login to merge, or discard this patch.
src/Math/Math.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @param \GMP $int
29 29
      * @param \GMP $otherInt
30
-     * @return \GMP
30
+     * @return resource
31 31
      */
32 32
     public function bitwiseOr(\GMP $int, \GMP $otherInt)
33 33
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * result and the remainder
40 40
      *
41 41
      * @param \GMP $dividend
42
-     * @param \GMP $divisor
42
+     * @param resource $divisor
43 43
      * @return array
44 44
      */
45 45
     public function divQr(\GMP $dividend, \GMP $divisor)
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param \GMP $integer
88
-     * @return \GMP
88
+     * @return resource
89 89
      */
90 90
     public function getLow64(\GMP $integer)
91 91
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * @param \GMP $integer
100 100
      * @param bool $fNegative
101
-     * @return \GMP
101
+     * @return resource
102 102
      */
103 103
     public function parseCompact(\GMP $integer, $fNegative)
104 104
     {
Please login to merge, or discard this patch.
src/Script/Interpreter/Checker.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * @param EcAdapterInterface $ecAdapter
47 47
      * @param TransactionInterface $transaction
48 48
      * @param int $nInput
49
-     * @param int|string $amount
49
+     * @param integer $amount
50 50
      */
51 51
     public function __construct(EcAdapterInterface $ecAdapter, TransactionInterface $transaction, $nInput, $amount)
52 52
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use BitWasp\Bitcoin\Network\NetworkInterface;
9 9
 use BitWasp\Bitcoin\Script\Classifier\OutputClassifier;
10 10
 use BitWasp\Bitcoin\Script\ScriptInterface;
11
-
12 11
 use BitWasp\Bitcoin\Key\PublicKeyFactory;
13 12
 use BitWasp\Buffertools\Buffer;
14 13
 
Please login to merge, or discard this patch.
src/Script/Interpreter/Number.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * @param BufferInterface $buffer
82
-     * @return int
82
+     * @return string
83 83
      */
84 84
     private function parseBuffer(BufferInterface $buffer)
85 85
     {
Please login to merge, or discard this patch.