@@ -172,8 +172,8 @@ |
||
172 | 172 | * for final validation. |
173 | 173 | * |
174 | 174 | * @param ScriptInterface $scriptPubKey |
175 | - * @param ScriptInterface|null $scriptSig |
|
176 | - * @param ScriptWitnessInterface|null $witness |
|
175 | + * @param ScriptInterface $scriptSig |
|
176 | + * @param ScriptWitnessInterface $witness |
|
177 | 177 | * @param SignData|null $signData |
178 | 178 | * @param OutputClassifier|null $classifier |
179 | 179 | * @return FullyQualifiedScript |
@@ -171,6 +171,7 @@ discard block |
||
171 | 171 | * adds them to the script. |
172 | 172 | * |
173 | 173 | * @param int ...$opcodes |
174 | + * @param integer[] $opcodes |
|
174 | 175 | * @return $this |
175 | 176 | */ |
176 | 177 | public function opcode(int ...$opcodes) |
@@ -184,6 +185,7 @@ discard block |
||
184 | 185 | * push-data instructions to the script. |
185 | 186 | * |
186 | 187 | * @param BufferInterface ...$dataList |
188 | + * @param BufferInterface[] $dataList |
|
187 | 189 | * @return $this |
188 | 190 | */ |
189 | 191 | public function data(BufferInterface ...$dataList) |
@@ -322,7 +322,7 @@ |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @param array|\stdClass|\Traversable $list |
|
325 | + * @param integer[] $list |
|
326 | 326 | * @return HierarchicalKey |
327 | 327 | * @throws \Exception |
328 | 328 | */ |
@@ -53,7 +53,6 @@ |
||
53 | 53 | /** |
54 | 54 | * @param string $field - name of field being validated |
55 | 55 | * @param string $value - we check this value |
56 | - * @param int $length - length we require |
|
57 | 56 | * @throws InvalidNetworkParameter |
58 | 57 | */ |
59 | 58 | private function validateHexStringRepresentsBytes(string $field, string $value) |