Completed
Pull Request — master (#591)
by thomas
04:54
created
src/Script/Script.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-     * @param bool|true $accurate
74
+     * @param boolean $accurate
75 75
      * @return int
76 76
      */
77 77
     public function countSigOps($accurate = true)
Please login to merge, or discard this patch.
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/PaymentProtocol/RequestSigner.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -259,8 +259,8 @@
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @param $certData
263
-     * @return array
262
+     * @param string $certData
263
+     * @return string
264 264
      */
265 265
     private function der2pem($certData)
266 266
     {
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/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.