@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | class HierarchicalKeyFactory |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | - * @param EcAdapterInterface|null $ecAdapter |
|
| 18 | + * @param EcAdapterInterface $ecAdapter |
|
| 19 | 19 | * @param NetworkInterface $network |
| 20 | 20 | * @return ExtendedKeySerializer |
| 21 | 21 | */ |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param BufferInterface $entropy |
|
| 40 | + * @param Buffer $entropy |
|
| 41 | 41 | * @param EcAdapterInterface $ecAdapter |
| 42 | 42 | * @return HierarchicalKey |
| 43 | 43 | */ |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @param BufferInterface $entropy |
|
| 93 | + * @param Buffer $entropy |
|
| 94 | 94 | * @return string |
| 95 | 95 | */ |
| 96 | 96 | public function entropyToMnemonic(BufferInterface $entropy) |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * @param string $mnemonic |
| 103 | - * @return BufferInterface |
|
| 103 | + * @return Buffer |
|
| 104 | 104 | */ |
| 105 | 105 | public function mnemonicToEntropy($mnemonic) |
| 106 | 106 | { |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * @param string $mnemonic |
| 69 | - * @return BufferInterface |
|
| 69 | + * @return Buffer |
|
| 70 | 70 | */ |
| 71 | 71 | public function mnemonicToEntropy($mnemonic) |
| 72 | 72 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * @param int $m |
| 98 | 98 | * @param PublicKeyInterface[] $keys |
| 99 | 99 | * @param bool|true $sort |
| 100 | - * @return ScriptCreator|Script |
|
| 100 | + * @return Script |
|
| 101 | 101 | */ |
| 102 | 102 | public function multisig($m, array $keys = [], $sort = true) |
| 103 | 103 | { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | - * @return ScriptInterface |
|
| 150 | + * @return ScriptInterface|null |
|
| 151 | 151 | */ |
| 152 | 152 | public function getScript() |
| 153 | 153 | { |
@@ -242,7 +242,7 @@ |
||
| 242 | 242 | |
| 243 | 243 | /** |
| 244 | 244 | * @param int $opCode |
| 245 | - * @param BufferInterface $pushData |
|
| 245 | + * @param Buffer $pushData |
|
| 246 | 246 | * @return bool |
| 247 | 247 | * @throws \Exception |
| 248 | 248 | */ |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Operation constructor. |
| 33 | 33 | * @param int $opCode |
| 34 | - * @param BufferInterface $pushData |
|
| 34 | + * @param Buffer $pushData |
|
| 35 | 35 | * @param int $pushDataSize |
| 36 | 36 | */ |
| 37 | 37 | public function __construct($opCode, BufferInterface $pushData, $pushDataSize = 0) |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @return BufferInterface |
|
| 36 | + * @return Buffer |
|
| 37 | 37 | */ |
| 38 | 38 | public function getBuffer() |
| 39 | 39 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Return a buffer containing the hash of this script. |
| 63 | 63 | * |
| 64 | - * @return BufferInterface |
|
| 64 | + * @return Buffer |
|
| 65 | 65 | */ |
| 66 | 66 | public function getScriptHash() |
| 67 | 67 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @param bool|true $accurate |
|
| 72 | + * @param boolean $accurate |
|
| 73 | 73 | * @return int |
| 74 | 74 | */ |
| 75 | 75 | public function countSigOps($accurate = true) |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @param BufferInterface|string $hashPrevOut |
|
| 104 | + * @param Buffer $hashPrevOut |
|
| 105 | 105 | * @param int $nPrevOut |
| 106 | 106 | * @param Script|null $script |
| 107 | 107 | * @param int $nSequence |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @param int|string $value |
|
| 138 | + * @param integer $value |
|
| 139 | 139 | * @param ScriptInterface $script |
| 140 | 140 | * @return $this |
| 141 | 141 | */ |