Skip to content

Commit

Permalink
Merge pull request #308 from p-maguire/SP-935
Browse files Browse the repository at this point in the history
SP-935: Update satoshisPerByte to float and bump version
  • Loading branch information
bobbrodie authored May 7, 2024
2 parents 5e8db0c + f4cfd79 commit a81b8a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion phpdoc.dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<output>docs</output>
</paths>

<version number="9.0.1">
<version number="9.0.2">
<api format="php">
<source dsn=".">
<path>src</path>
Expand Down
2 changes: 1 addition & 1 deletion src/BitPaySDK/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Env
public const TEST_URL = "https://test.bitpay.com/";
public const PROD_URL = "https://bitpay.com/";
public const BITPAY_API_VERSION = "2.0.0";
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.1";
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.2";
public const BITPAY_API_FRAME = "std";
public const BITPAY_API_FRAME_VERSION = "1.0.0";
}
6 changes: 3 additions & 3 deletions src/BitPaySDK/Model/Invoice/MinerFeesItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
*/
class MinerFeesItem
{
protected ?int $satoshisPerByte = null;
protected ?float $satoshisPerByte = null;
protected ?int $totalFee = null;
protected ?float $fiatAmount = null;

public function __construct()
{
}

public function getSatoshisPerByte(): ?int
public function getSatoshisPerByte(): ?float
{
return $this->satoshisPerByte;
}

public function setSatoshisPerByte(int $satoshisPerByte): void
public function setSatoshisPerByte(float $satoshisPerByte): void
{
$this->satoshisPerByte = $satoshisPerByte;
}
Expand Down

0 comments on commit a81b8a0

Please sign in to comment.