@@ -71,7 +71,7 @@ |
||
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) |
@@ -111,7 +111,7 @@ |
||
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 |
@@ -259,8 +259,8 @@ |
||
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 | { |
@@ -93,7 +93,7 @@ discard block |
||
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 |
||
177 | 177 | } |
178 | 178 | |
179 | 179 | /** |
180 | - * @return \GMP |
|
180 | + * @return resource |
|
181 | 181 | */ |
182 | 182 | public function getGmp() |
183 | 183 | { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
105 | - * @return int |
|
105 | + * @return boolean |
|
106 | 106 | */ |
107 | 107 | public function isSequenceLockDisabled() |
108 | 108 | { |
@@ -299,7 +299,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -339,7 +339,7 @@ |
||
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 | { |
@@ -339,7 +339,7 @@ |
||
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 | { |
@@ -24,7 +24,7 @@ |
||
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 | */ |