Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivascu Madalin committed Nov 28, 2023
1 parent b5373e1 commit e267bb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/additional_services/getActiveSubscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
try {
foreach ($buckaroo->getActiveSubscriptions() as $subscription) {
$availableCurrencies = implode(",", $subscription['currencies']);
echo "serviceCode: " . $subscription['serviceCode'] . "\n";;
echo "serviceCode: " . $subscription['serviceCode'] . "\n";
echo "- available currencies: " . $availableCurrencies . "\n";
}
} catch (\Throwable $th) {
Expand Down
4 changes: 2 additions & 2 deletions tests/Buckaroo/GetActiveSubscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function it_gets_the_active_subscriptions()
{
$response = $this->buckaroo->getActiveSubscriptions();
$this->assertIsArray($response);
$this->assertArrayHasKey('serviceCode',$response[0]);
$this->assertArrayHasKey('currencies',$response[0]);
$this->assertArrayHasKey('serviceCode', $response[0]);
$this->assertArrayHasKey('currencies', $response[0]);
}
}

0 comments on commit e267bb8

Please sign in to comment.