@@ -279,8 +279,8 @@ discard block |
||
| 279 | 279 | /** |
| 280 | 280 | * Attempt to calculate the public key recovery param by trial and error |
| 281 | 281 | * |
| 282 | - * @param int|string $r |
|
| 283 | - * @param int|string $s |
|
| 282 | + * @param integer $r |
|
| 283 | + * @param integer $s |
|
| 284 | 284 | * @param Buffer $messageHash |
| 285 | 285 | * @param PublicKey $publicKey |
| 286 | 286 | * @return int |
@@ -349,7 +349,7 @@ discard block |
||
| 349 | 349 | } |
| 350 | 350 | |
| 351 | 351 | /** |
| 352 | - * @param int|string $element |
|
| 352 | + * @param string $element |
|
| 353 | 353 | * @param bool $half |
| 354 | 354 | * @return bool |
| 355 | 355 | */ |
@@ -239,7 +239,7 @@ |
||
| 239 | 239 | } |
| 240 | 240 | |
| 241 | 241 | /** |
| 242 | - * @param $opCode |
|
| 242 | + * @param integer $opCode |
|
| 243 | 243 | * @param Buffer $pushData |
| 244 | 244 | * @return bool |
| 245 | 245 | * @throws \Exception |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * @param string $hashPrevOut |
| 39 | 39 | * @param string $nPrevOut |
| 40 | - * @param ScriptInterface|Buffer $script |
|
| 40 | + * @param ScriptInterface $script |
|
| 41 | 41 | * @param int $sequence |
| 42 | 42 | */ |
| 43 | 43 | public function __construct($hashPrevOut, $nPrevOut, ScriptInterface $script = null, $sequence = self::SEQUENCE_FINAL) |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param mixed $value |
|
| 15 | + * @param Buffer $value |
|
| 16 | 16 | * @throws \InvalidArgumentException |
| 17 | 17 | */ |
| 18 | 18 | private function typeCheck($value) |