Skip to content

Commit

Permalink
SP-1095 Update phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Nov 11, 2024
1 parent 2940f73 commit 3022561
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/BitPaySDK/Util/RESTcli/RESTcli.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ class RESTcli
* @param string|null $proxy
* @throws BitPayApiException
*/
public function __construct(string $environment, PrivateKey $ecKey, ?string $proxy = null, ?string $platformInfo = null)
{
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) : '';
Expand Down

0 comments on commit 3022561

Please sign in to comment.