@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
118 | - * @param array $decoded |
|
118 | + * @param Operation[] $decoded |
|
119 | 119 | * @return bool |
120 | 120 | */ |
121 | 121 | private function decodeP2SH(array $decoded) |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * @param ScriptInterface $script |
242 | 242 | * @param int $limit |
243 | - * @param array $decoded |
|
243 | + * @param Operation[] $decoded |
|
244 | 244 | * @return BufferInterface|false |
245 | 245 | */ |
246 | 246 | private function decodeWithLimit(ScriptInterface $script, $limit, array $decoded) |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | } |
324 | 324 | |
325 | 325 | /** |
326 | - * @param array $decoded |
|
326 | + * @param Operation[] $decoded |
|
327 | 327 | * @return bool|BufferInterface |
328 | 328 | */ |
329 | 329 | private function decodeWitnessCoinbaseCommitment(array $decoded) |
@@ -121,7 +121,7 @@ |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * @return array|BufferInterface[] |
|
124 | + * @return BufferInterface[] |
|
125 | 125 | */ |
126 | 126 | public function getKeyBuffers() |
127 | 127 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * InputSigner constructor. |
134 | 134 | * @param EcAdapterInterface $ecAdapter |
135 | 135 | * @param TransactionInterface $tx |
136 | - * @param $nInput |
|
136 | + * @param integer $nInput |
|
137 | 137 | * @param TransactionOutputInterface $txOut |
138 | 138 | * @param SignData $signData |
139 | 139 | * @param TransactionSignatureSerializer|null $sigSerializer |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use BitWasp\Buffertools\BufferInterface; |
14 | 14 | use BitWasp\Buffertools\Exceptions\ParserOutOfRange; |
15 | 15 | use BitWasp\Buffertools\Parser; |
16 | -use BitWasp\Buffertools\Template; |
|
17 | 16 | |
18 | 17 | class ExtendedKeySerializer |
19 | 18 | { |