Skip to content

Commit

Permalink
PSBT: fix phpdoc for function returning unknown key/values
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kerin committed Jan 9, 2019
1 parent b46bb2c commit 7dbd62d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Transaction/PSBT/PSBT.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ public function getTransaction(): TransactionInterface
{
return $this->tx;
}

/**
* @return string[]
* @return BufferInterface[]
*/
public function getUnknowns(): array
{
Expand Down
3 changes: 3 additions & 0 deletions src/Transaction/PSBT/PSBTInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ public function getFinalizedScriptWitness(): ScriptWitnessInterface
return $this->finalScriptWitness;
}

/**
* @return BufferInterface[]
*/
public function getUnknownFields(): array
{
return $this->unknown;
Expand Down
2 changes: 1 addition & 1 deletion src/Transaction/PSBT/PSBTOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function getBip32Derivations(): array
}

/**
* @return string[]
* @return BufferInterface[]
*/
public function getUnknownFields(): array
{
Expand Down

0 comments on commit 7dbd62d

Please sign in to comment.