Completed
Pull Request — 0.0.35 (#697)
by thomas
70:14
created
src/Transaction/Factory/TxBuilder.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use BitWasp\Bitcoin\Address\AddressInterface;
8 8
 use BitWasp\Bitcoin\Locktime;
9 9
 use BitWasp\Bitcoin\Script\Script;
10
-use BitWasp\Bitcoin\Script\ScriptFactory;
11 10
 use BitWasp\Bitcoin\Script\ScriptInterface;
12 11
 use BitWasp\Bitcoin\Script\ScriptWitnessInterface;
13 12
 use BitWasp\Bitcoin\Transaction\Bip69\Bip69;
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Signature/CompactSignature.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return int
70
+     * @return double
71 71
      */
72 72
     public function getFlags()
73 73
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/Secp256k1/Adapter/EcAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param \GMP $int
94
+     * @param resource $int
95 95
      * @param bool|false $compressed
96 96
      * @return PrivateKey
97 97
      */
Please login to merge, or discard this patch.
src/Key/Deterministic/HierarchicalKey.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * Get the fingerprint of the parent key. For master keys, this is 00000000.
99 99
      *
100
-     * @return string
100
+     * @return integer
101 101
      */
102 102
     public function getFingerprint()
103 103
     {
Please login to merge, or discard this patch.
src/Math/Math.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 
20 20
     /**
21 21
      * @param \GMP $int
22
-     * @param \GMP $otherInt
23
-     * @return \GMP
22
+     * @param resource $otherInt
23
+     * @return resource
24 24
      */
25 25
     public function bitwiseOr(\GMP $int, \GMP $otherInt)
26 26
     {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * result and the remainder
33 33
      *
34 34
      * @param \GMP $dividend
35
-     * @param \GMP $divisor
35
+     * @param resource $divisor
36 36
      * @return array
37 37
      */
38 38
     public function divQr(\GMP $dividend, \GMP $divisor)
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * @param \GMP $integer
81
-     * @return \GMP
81
+     * @return resource
82 82
      */
83 83
     public function getLow64(\GMP $integer)
84 84
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * @param \GMP $integer
93 93
      * @param bool $fNegative
94
-     * @return \GMP
94
+     * @return resource
95 95
      */
96 96
     public function encodeCompact(\GMP $integer, $fNegative)
97 97
     {
Please login to merge, or discard this patch.
src/Script/Interpreter/Number.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * @param BufferInterface $buffer
96
-     * @return int
96
+     * @return string
97 97
      */
98 98
     private function parseBuffer(BufferInterface $buffer)
99 99
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     }
178 178
 
179 179
     /**
180
-     * @return \GMP
180
+     * @return resource
181 181
      */
182 182
     public function getGmp()
183 183
     {
Please login to merge, or discard this patch.
src/Script/Classifier/OutputClassifier.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @param array $decoded
118
+     * @param Operation[] $decoded
119 119
      * @return bool
120 120
      */
121 121
     private function decodeP2SH(array $decoded)
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * @param ScriptInterface $script
242 242
      * @param int $limit
243
-     * @param array $decoded
243
+     * @param Operation[] $decoded
244 244
      * @return BufferInterface|false
245 245
      */
246 246
     private function decodeWithLimit(ScriptInterface $script, $limit, array $decoded)
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
     }
324 324
 
325 325
     /**
326
-     * @param array $decoded
326
+     * @param Operation[] $decoded
327 327
      * @return bool|BufferInterface
328 328
      */
329 329
     private function decodeWitnessCoinbaseCommitment(array $decoded)
Please login to merge, or discard this patch.
src/Script/ScriptInfo/Multisig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-     * @return array|BufferInterface[]
124
+     * @return BufferInterface[]
125 125
      */
126 126
     public function getKeyBuffers()
127 127
     {
Please login to merge, or discard this patch.
src/Chain/Params.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     }
202 202
 
203 203
     /**
204
-     * @return int
204
+     * @return string
205 205
      */
206 206
     public function powBitsLimit()
207 207
     {
Please login to merge, or discard this patch.