Skip to content

Commit e5c5693

Browse files
committed
Implementing subscriptions - implementing comments suggestions and updating tests
1 parent 399e0d4 commit e5c5693

File tree

6 files changed

+224
-504
lines changed

6 files changed

+224
-504
lines changed

src/BitPaySDK/Client.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ public function getBill(string $billId, string $facade = Facade::MERCHANT, bool
578578
*
579579
* @see https://developer.bitpay.com/reference/retrieve-bills-by-status Retrieve Bills by Status
580580
*
581-
* @param $status string|null The status to filter the bills.
581+
* @param string|null $status The status to filter the bills.
582582
* @return Bill[]
583583
* @throws BitPayApiException
584584
* @throws BitPayGenericException
@@ -649,7 +649,7 @@ public function createSubscription(Subscription $subscription): Subscription
649649
*
650650
* @see https://developer.bitpay.com/reference/retrieve-a-subscription Retrieve a Subscription
651651
*
652-
* @param $subscriptionId string The ID of the subscription to retrieve.
652+
* @param string $subscriptionId The ID of the subscription to retrieve.
653653
* @return Subscription
654654
* @throws BitPayApiException
655655
* @throws BitPayGenericException
@@ -666,7 +666,7 @@ public function getSubscription(string $subscriptionId): Subscription
666666
*
667667
* @see https://developer.bitpay.com/reference/retrieve-subscriptions-by-status Retrieve Subscriptions by Status
668668
*
669-
* @param $status string|null The status on which to filter the subscriptions.
669+
* @param string|null $status The status on which to filter the subscriptions.
670670
* @return Subscription[] Filtered list of Subscription objects
671671
* @throws BitPayApiException
672672
* @throws BitPayGenericException

0 commit comments

Comments
 (0)