Completed
Pull Request — master (#524)
by thomas
40:24 queued 38:13
created
src/Script/Path/LogicOpNode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     /**
24 24
      * MASTNode constructor.
25
-     * @param self|null $parent
25
+     * @param null|\self $parent
26 26
      * @param bool|null $value
27 27
      */
28 28
     public function __construct(self $parent = null, $value = null)
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @return array
92
+     * @return LogicOpNode[]
93 93
      */
94 94
     public function split()
95 95
     {
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/ScriptBranch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * ScriptBranch constructor.
28 28
      * @param ScriptInterface $fullScript
29
-     * @param array $logicalPath
29
+     * @param boolean[] $logicalPath
30 30
      * @param PathTrace $segments
31 31
      */
32 32
     public function __construct(ScriptInterface $fullScript, array $logicalPath, PathTrace $segments)
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/Transaction/Factory/Checksig.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@  discard block
 block discarded – undo
100 100
         }
101 101
     }
102 102
 
103
+    /**
104
+     * @param boolean $setting
105
+     */
103 106
     public function setRequired($setting)
104 107
     {
105 108
         if (!is_bool($setting)) {
@@ -131,7 +134,7 @@  discard block
 block discarded – undo
131 134
     }
132 135
 
133 136
     /**
134
-     * @return array|BufferInterface|BufferInterface[]
137
+     * @return BufferInterface
135 138
      */
136 139
     public function getSolution()
137 140
     {
@@ -206,7 +209,7 @@  discard block
 block discarded – undo
206 209
     }
207 210
 
208 211
     /**
209
-     * @return array
212
+     * @return TransactionSignatureInterface[]
210 213
      */
211 214
     public function getSignatures()
212 215
     {
@@ -236,7 +239,7 @@  discard block
 block discarded – undo
236 239
     }
237 240
 
238 241
     /**
239
-     * @param $idx
242
+     * @param integer $idx
240 243
      * @param PublicKeyInterface|null $key
241 244
      * @return $this
242 245
      */
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
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
     }
365 365
 
366 366
     /**
367
-     * @param array $decoded
367
+     * @param Operation[] $decoded
368 368
      * @param null $solution
369 369
      * @return null|PayToPubkey|PayToPubkeyHash|Multisig
370 370
      */
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
 
486 486
     /**
487 487
      * @param OutputData $solution
488
-     * @param array $sigChunks
488
+     * @param BufferInterface[] $sigChunks
489 489
      * @param SignData $signData
490 490
      */
491 491
     public function extractScript(OutputData $solution, array $sigChunks, SignData $signData)
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
     }
1142 1142
 
1143 1143
     /**
1144
-     * @return array
1144
+     * @return BufferInterface[]
1145 1145
      */
1146 1146
     private function serializeSteps()
1147 1147
     {
Please login to merge, or discard this patch.