@@ -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 | { |
@@ -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 | */ |
@@ -79,7 +79,7 @@ |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @param PrivateKeyInterface $privKey |
82 | - * @param BufferInterface $hash |
|
82 | + * @param Buffer $hash |
|
83 | 83 | * @param int $sigHashType |
84 | 84 | * @return TransactionSignature |
85 | 85 | */ |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use \BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Adapter\EcAdapter as Secp256k1Adapter; |
15 | 15 | use BitWasp\Bitcoin\Transaction\SignatureHash\SignatureHashInterface; |
16 | 16 | use BitWasp\Bitcoin\Transaction\TransactionInterface; |
17 | -use BitWasp\Buffertools\Buffer; |
|
18 | 17 | use BitWasp\Buffertools\BufferInterface; |
19 | 18 | |
20 | 19 | class TxSigner |
@@ -79,7 +79,7 @@ |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @param PrivateKeyInterface $privKey |
82 | - * @param BufferInterface $hash |
|
82 | + * @param Buffer $hash |
|
83 | 83 | * @param int $sigHashType |
84 | 84 | * @return TransactionSignature |
85 | 85 | */ |
@@ -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 | { |