Completed
Pull Request — master (#591)
by thomas
15:19
created
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/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.
tests-rpc/RegtestBitcoinFactory.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
38 38
         $this->credential = new RpcCredential("127.0.0.1", 18332, "rpcuser", "rpcpass");
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $var
43
+     * @param string $default
44
+     */
41 45
     private function envOrDefault($var, $default = null) {
42 46
         $value = getenv($var);
43 47
         if (in_array($value, [null, false, ""])) {
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
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @param \GMP $int
96
+     * @param resource $int
97 97
      * @param bool $compressed
98 98
      * @return PrivateKeyInterface
99 99
      */
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Key/Key.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace BitWasp\Bitcoin\Crypto\EcAdapter\Key;
6 6
 
7
-use BitWasp\Bitcoin\Address\AddressFactory;
8 7
 use BitWasp\Bitcoin\Crypto\EcAdapter\Serializer\Key\PublicKeySerializerInterface;
9 8
 use BitWasp\Bitcoin\Crypto\Hash;
10 9
 use BitWasp\Bitcoin\Serializable;
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
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
     }
270 270
 
271 271
     /**
272
-     * @param array|\stdClass|\Traversable $list
272
+     * @param integer[] $list
273 273
      * @return HierarchicalKey
274 274
      */
275 275
     public function deriveFromList($list)
Please login to merge, or discard this patch.
src/Key/Deterministic/MultisigHD.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     private $sort;
44 44
 
45 45
     /**
46
-     * @param int|string $m
46
+     * @param integer $m
47 47
      * @param string $path
48 48
      * @param array $keys
49 49
      * @param HierarchicalKeySequence $sequences
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * Derive each HK child and produce a new MultisigHD object
137 137
      *
138
-     * @param int|string $sequence
138
+     * @param integer $sequence
139 139
      * @return MultisigHD
140 140
      */
141 141
     public function deriveChild(int $sequence): MultisigHD
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
-     * @param array|\stdClass|\Traversable $list
164
+     * @param integer[] $list
165 165
      * @return MultisigHD
166 166
      */
167 167
     public function deriveFromList($list): MultisigHD
Please login to merge, or discard this patch.
src/Math/Math.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * @param \GMP $int
24
-     * @param \GMP $otherInt
24
+     * @param resource $otherInt
25 25
      * @return \GMP
26 26
      */
27 27
     public function bitwiseOr(\GMP $int, \GMP $otherInt): \GMP
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * result and the remainder
35 35
      *
36 36
      * @param \GMP $dividend
37
-     * @param \GMP $divisor
37
+     * @param resource $divisor
38 38
      * @return array
39 39
      */
40 40
     public function divQr(\GMP $dividend, \GMP $divisor): array
Please login to merge, or discard this patch.
src/Script/Classifier/OutputClassifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
     }
416 416
 
417 417
     /**
418
-     * @param array $decoded
418
+     * @param Operation[] $decoded
419 419
      * @param null $solution
420 420
      * @return string
421 421
      */
Please login to merge, or discard this patch.