Skip to content

Commit 7dbd62d

Browse files
author
Thomas Kerin
committed
PSBT: fix phpdoc for function returning unknown key/values
1 parent b46bb2c commit 7dbd62d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Transaction/PSBT/PSBT.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,9 @@ public function getTransaction(): TransactionInterface
167167
{
168168
return $this->tx;
169169
}
170+
170171
/**
171-
* @return string[]
172+
* @return BufferInterface[]
172173
*/
173174
public function getUnknowns(): array
174175
{

src/Transaction/PSBT/PSBTInput.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ public function getFinalizedScriptWitness(): ScriptWitnessInterface
373373
return $this->finalScriptWitness;
374374
}
375375

376+
/**
377+
* @return BufferInterface[]
378+
*/
376379
public function getUnknownFields(): array
377380
{
378381
return $this->unknown;

src/Transaction/PSBT/PSBTOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function getBip32Derivations(): array
161161
}
162162

163163
/**
164-
* @return string[]
164+
* @return BufferInterface[]
165165
*/
166166
public function getUnknownFields(): array
167167
{

0 commit comments

Comments
 (0)