Skip to content

Commit 012a0af

Browse files
committed
SP-1095 Default to null
1 parent ed58ac1 commit 012a0af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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.1.1">
13+
<version number="9.1.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.1.1";
20+
public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.1.2";
2121
public const BITPAY_API_FRAME = "std";
2222
public const BITPAY_API_FRAME_VERSION = "1.0.0";
2323
}

src/BitPaySDK/Util/RESTcli/RESTcli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class RESTcli
6666
* @param string|null $proxy
6767
* @throws BitPayApiException
6868
*/
69-
public function __construct(string $environment, PrivateKey $ecKey, ?string $proxy = null, ?string $platformInfo)
69+
public function __construct(string $environment, PrivateKey $ecKey, ?string $proxy = null, ?string $platformInfo = null)
7070
{
7171
$this->ecKey = $ecKey;
7272
$this->baseUrl = $environment == Env::TEST ? Env::TEST_URL : Env::PROD_URL;

0 commit comments

Comments
 (0)