Skip to content

Commit a81b8a0

Browse files
authored
Merge pull request #308 from p-maguire/SP-935
SP-935: Update satoshisPerByte to float and bump version
2 parents 5e8db0c + f4cfd79 commit a81b8a0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

phpdoc.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<output>docs</output>
1111
</paths>
1212

13-
<version number="9.0.1">
13+
<version number="9.0.2">
1414
<api format="php">
1515
<source dsn=".">
1616
<path>src</path>

src/BitPaySDK/Env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface Env
1717
public const TEST_URL = "https://test.bitpay.com/";
1818
public const PROD_URL = "https://bitpay.com/";
1919
public const BITPAY_API_VERSION = "2.0.0";
20-
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.1";
20+
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.2";
2121
public const BITPAY_API_FRAME = "std";
2222
public const BITPAY_API_FRAME_VERSION = "1.0.0";
2323
}

src/BitPaySDK/Model/Invoice/MinerFeesItem.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
*/
1919
class MinerFeesItem
2020
{
21-
protected ?int $satoshisPerByte = null;
21+
protected ?float $satoshisPerByte = null;
2222
protected ?int $totalFee = null;
2323
protected ?float $fiatAmount = null;
2424

2525
public function __construct()
2626
{
2727
}
2828

29-
public function getSatoshisPerByte(): ?int
29+
public function getSatoshisPerByte(): ?float
3030
{
3131
return $this->satoshisPerByte;
3232
}
3333

34-
public function setSatoshisPerByte(int $satoshisPerByte): void
34+
public function setSatoshisPerByte(float $satoshisPerByte): void
3535
{
3636
$this->satoshisPerByte = $satoshisPerByte;
3737
}

0 commit comments

Comments
 (0)