Completed
Pull Request — master (#745)
by thomas
48:07 queued 08:46
created
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   +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.
src/Script/Script.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param bool|true $accurate
105
+     * @param boolean $accurate
106 106
      * @return int
107 107
      */
108 108
     public function countSigOps(bool $accurate = true): int
Please login to merge, or discard this patch.
src/Transaction/Factory/TxBuilder.php 1 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/Script/Factory/ScriptCreator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -171,6 +171,7 @@  discard block
 block discarded – undo
171 171
      * adds them to the script.
172 172
      *
173 173
      * @param int ...$opcodes
174
+     * @param integer[] $opcodes
174 175
      * @return $this
175 176
      */
176 177
     public function opcode(int ...$opcodes)
@@ -184,6 +185,7 @@  discard block
 block discarded – undo
184 185
      * push-data instructions to the script.
185 186
      *
186 187
      * @param BufferInterface ...$dataList
188
+     * @param BufferInterface[] $dataList
187 189
      * @return $this
188 190
      */
189 191
     public function data(BufferInterface ...$dataList)
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
@@ -322,7 +322,7 @@
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @param array|\stdClass|\Traversable $list
325
+     * @param integer[] $list
326 326
      * @return HierarchicalKey
327 327
      * @throws \Exception
328 328
      */
Please login to merge, or discard this patch.
src/Key/Deterministic/MultisigHD.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param array|\stdClass|\Traversable $list
165
+     * @param integer[] $list
166 166
      * @return MultisigHD
167 167
      */
168 168
     public function deriveFromList($list): MultisigHD
Please login to merge, or discard this patch.
src/Script/Interpreter/Stack.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @return BufferInterface
91
+     * @return BufferInterface|null
92 92
      */
93 93
     public function bottom()
94 94
     {
Please login to merge, or discard this patch.
src/Transaction/Factory/InputSigner.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
     }
337 337
 
338 338
     /**
339
-     * @param array $decoded
339
+     * @param Operation[] $decoded
340 340
      * @param null $solution
341 341
      * @return null|TimeLock|Checksig
342 342
      */
@@ -652,8 +652,8 @@  discard block
 block discarded – undo
652 652
 
653 653
     /**
654 654
      * @param ScriptInterface $script
655
-     * @param BufferInterface $vchSig
656
-     * @param BufferInterface $vchKey
655
+     * @param BufferInterface|null $vchSig
656
+     * @param BufferInterface|null $vchKey
657 657
      * @return bool
658 658
      */
659 659
     private function checkSignature(ScriptInterface $script, BufferInterface $vchSig, BufferInterface $vchKey)
@@ -1111,7 +1111,7 @@  discard block
 block discarded – undo
1111 1111
     }
1112 1112
 
1113 1113
     /**
1114
-     * @return Checksig[]|Conditional[]|mixed
1114
+     * @return Conditional[]
1115 1115
      */
1116 1116
     public function getSteps()
1117 1117
     {
Please login to merge, or discard this patch.