diff --git a/docs/classes/BitPaySDK-Env.html b/docs/classes/BitPaySDK-Env.html index 7fce90c9..d5b01c7b 100644 --- a/docs/classes/BitPaySDK-Env.html +++ b/docs/classes/BitPaySDK-Env.html @@ -216,7 +216,7 @@

BITPAY_PLUGIN_INFO -  = "BitPay_PHP_Client_v9.1.1" +  = "BitPay_PHP_Client_v9.1.2"
@@ -371,7 +371,7 @@

public mixed BITPAY_PLUGIN_INFO - = "BitPay_PHP_Client_v9.1.1" + = "BitPay_PHP_Client_v9.1.2" diff --git a/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html b/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html index f03bf536..b213651a 100644 --- a/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html +++ b/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html @@ -574,7 +574,7 @@

public - __construct(string $environment, PrivateKey $ecKey[, string|null $proxy = null ], string|null $platformInfo) : mixed + __construct(string $environment, PrivateKey $ecKey[, string|null $proxy = null ][, string|null $platformInfo = null ]) : mixed
@@ -606,7 +606,7 @@

Parameters
$platformInfo : string|null -
+ = null
@@ -647,7 +647,7 @@

@@ -726,7 +726,7 @@

@@ -816,7 +816,7 @@

@@ -880,7 +880,7 @@

@@ -930,7 +930,7 @@

@@ -1020,7 +1020,7 @@

@@ -1099,7 +1099,7 @@

@@ -1147,7 +1147,7 @@

diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index bed634f7..0945df0a 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -10,7 +10,7 @@ docs - + src diff --git a/src/BitPaySDK/Env.php b/src/BitPaySDK/Env.php index 1c70a1dd..1b580bc8 100644 --- a/src/BitPaySDK/Env.php +++ b/src/BitPaySDK/Env.php @@ -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.1.1"; + public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.1.2"; public const BITPAY_API_FRAME = "std"; public const BITPAY_API_FRAME_VERSION = "1.0.0"; } diff --git a/src/BitPaySDK/Util/RESTcli/RESTcli.php b/src/BitPaySDK/Util/RESTcli/RESTcli.php index 2b1d9f57..bd70a444 100644 --- a/src/BitPaySDK/Util/RESTcli/RESTcli.php +++ b/src/BitPaySDK/Util/RESTcli/RESTcli.php @@ -66,8 +66,12 @@ class RESTcli * @param string|null $proxy * @throws BitPayApiException */ - public function __construct(string $environment, PrivateKey $ecKey, ?string $proxy = null, ?string $platformInfo) - { + public function __construct( + string $environment, + PrivateKey $ecKey, + ?string $proxy = null, + ?string $platformInfo = null + ) { $this->ecKey = $ecKey; $this->baseUrl = $environment == Env::TEST ? Env::TEST_URL : Env::PROD_URL; $this->proxy = $proxy !== null ? trim($proxy) : '';