Completed
Pull Request — master (#578)
by Will
124:04 queued 54:00
created
src/Transaction/TransactionInput.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
-     * @return int
105
+     * @return boolean
106 106
      */
107 107
     public function isSequenceLockDisabled()
108 108
     {
Please login to merge, or discard this patch.
src/Script/Classifier/OutputClassifier.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     /**
300 300
      * @param ScriptInterface $script
301 301
      * @param int $limit
302
-     * @param array $decoded
302
+     * @param Operation[] $decoded
303 303
      * @return BufferInterface|false
304 304
      */
305 305
     private function decodeWithLimit(ScriptInterface $script, $limit, array $decoded)
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
     }
453 453
 
454 454
     /**
455
-     * @param array $decoded
455
+     * @param Operation[] $decoded
456 456
      * @param null $solution
457 457
      * @return string
458 458
      */
Please login to merge, or discard this patch.
src/Script/Interpreter/Interpreter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
     /**
340 340
      * @param Stack $vfStack
341 341
      * @param bool $value
342
-     * @return bool
342
+     * @return integer
343 343
      */
344 344
     public function checkExec(Stack $vfStack, $value)
345 345
     {
Please login to merge, or discard this patch.
src/Script/Path/BranchInterpreter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@
 block discarded – undo
339 339
     /**
340 340
      * @param Stack $vfStack
341 341
      * @param bool $value
342
-     * @return bool
342
+     * @return integer
343 343
      */
344 344
     private function checkExec(Stack $vfStack, $value)
345 345
     {
Please login to merge, or discard this patch.
src/Script/ScriptInfo/PayToPubkeyHash.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * PayToPubkeyHash constructor.
27
-     * @param $opcode
27
+     * @param integer $opcode
28 28
      * @param BufferInterface $hash160
29 29
      * @param bool $allowVerify
30 30
      */
Please login to merge, or discard this patch.
src/Script/Path/LogicOpNode.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * MASTNode constructor.
24
-     * @param self|null $parent
24
+     * @param null|\self $parent
25 25
      * @param bool|null $value
26 26
      */
27 27
     public function __construct(self $parent = null, $value = null)
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @param $value
87
+     * @param boolean $value
88 88
      * @return LogicOpNode
89 89
      */
90 90
     public function getChild($value)
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-     * @return array
99
+     * @return LogicOpNode[]
100 100
      */
101 101
     public function split()
102 102
     {
Please login to merge, or discard this patch.
src/Transaction/Factory/Checksig.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @return array|BufferInterface|BufferInterface[]
141
+     * @return BufferInterface
142 142
      */
143 143
     public function getSolution()
144 144
     {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-     * @return array
216
+     * @return TransactionSignatureInterface[]
217 217
      */
218 218
     public function getSignatures()
219 219
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     }
244 244
 
245 245
     /**
246
-     * @param $idx
246
+     * @param integer $idx
247 247
      * @param PublicKeyInterface|null $key
248 248
      * @return $this
249 249
      */
Please login to merge, or discard this patch.
src/Transaction/Factory/InputSigner.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
     }
385 385
 
386 386
     /**
387
-     * @param array $decoded
387
+     * @param Operation[] $decoded
388 388
      * @param null $solution
389 389
      * @return null|TimeLock|Checksig
390 390
      */
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 
516 516
     /**
517 517
      * @param OutputData $solution
518
-     * @param array $sigChunks
518
+     * @param BufferInterface[] $sigChunks
519 519
      * @param SignData $signData
520 520
      */
521 521
     public function extractScript(OutputData $solution, array $sigChunks, SignData $signData)
@@ -1258,7 +1258,7 @@  discard block
 block discarded – undo
1258 1258
     }
1259 1259
 
1260 1260
     /**
1261
-     * @return array
1261
+     * @return BufferInterface[]
1262 1262
      */
1263 1263
     private function serializeSteps()
1264 1264
     {
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.