@@ -257,10 +257,10 @@ public function getInvoiceByGuid(
257257 public function getInvoices (
258258 string $ dateStart ,
259259 string $ dateEnd ,
260- string $ status = null ,
261- string $ orderId = null ,
262- int $ limit = null ,
263- int $ offset = null
260+ ? string $ status = null ,
261+ ? string $ orderId = null ,
262+ ? int $ limit = null ,
263+ ? int $ offset = null
264264 ): array {
265265 $ invoiceClient = $ this ->getInvoiceClient ();
266266
@@ -581,7 +581,7 @@ public function getBill(string $billId, string $facade = Facade::MERCHANT, bool
581581 * @throws BitPayApiException
582582 * @throws BitPayGenericException
583583 */
584- public function getBills (string $ status = null ): array
584+ public function getBills (? string $ status = null ): array
585585 {
586586 $ billClient = $ this ->getBillClient ();
587587
@@ -762,7 +762,7 @@ public function getPayoutRecipient(string $recipientId): PayoutRecipient
762762 * @throws BitPayApiException
763763 * @throws BitPayGenericException
764764 */
765- public function getPayoutRecipients (string $ status = null , int $ limit = null , int $ offset = null ): array
765+ public function getPayoutRecipients (? string $ status = null , ? int $ limit = null , ? int $ offset = null ): array
766766 {
767767 $ payoutRecipientsClient = $ this ->getPayoutRecipientsClient ();
768768
@@ -874,12 +874,12 @@ public function getPayout(string $payoutId): Payout
874874 * @throws BitPayApiException
875875 */
876876 public function getPayouts (
877- string $ startDate = null ,
878- string $ endDate = null ,
879- string $ status = null ,
880- string $ reference = null ,
881- int $ limit = null ,
882- int $ offset = null
877+ ? string $ startDate = null ,
878+ ? string $ endDate = null ,
879+ ? string $ status = null ,
880+ ? string $ reference = null ,
881+ ? int $ limit = null ,
882+ ? int $ offset = null
883883 ): array {
884884 $ payoutClient = $ this ->getPayoutClient ();
885885
@@ -972,9 +972,9 @@ public function getSettlements(
972972 string $ currency ,
973973 string $ dateStart ,
974974 string $ dateEnd ,
975- string $ status = null ,
976- int $ limit = null ,
977- int $ offset = null
975+ ? string $ status = null ,
976+ ? int $ limit = null ,
977+ ? int $ offset = null
978978 ): array {
979979 $ settlementsClient = $ this ->getSettlementClient ();
980980
0 commit comments