diff --git a/src/Endpoints/BalanceEndpoint.php b/src/Endpoints/BalanceEndpoint.php index a0582c8b..50dcbf42 100644 --- a/src/Endpoints/BalanceEndpoint.php +++ b/src/Endpoints/BalanceEndpoint.php @@ -87,7 +87,7 @@ public function page(?string $from = null, ?int $limit = null, array $parameters * @param string $from The first Balance ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/BalanceTransactionEndpoint.php b/src/Endpoints/BalanceTransactionEndpoint.php index 5dcec331..e0238007 100644 --- a/src/Endpoints/BalanceTransactionEndpoint.php +++ b/src/Endpoints/BalanceTransactionEndpoint.php @@ -56,7 +56,7 @@ public function listFor(Balance $balance, array $parameters = []) * * @param Balance $balance * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -86,7 +86,7 @@ public function listForId(string $balanceId, array $parameters = []) * * @param string $balanceId * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -116,7 +116,7 @@ public function listForPrimary(array $parameters = []) * Create an iterator for iterating over transactions for the primary balance retrieved from Mollie. * * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/ChargebackEndpoint.php b/src/Endpoints/ChargebackEndpoint.php index 68efd372..d02d08ae 100644 --- a/src/Endpoints/ChargebackEndpoint.php +++ b/src/Endpoints/ChargebackEndpoint.php @@ -55,7 +55,7 @@ public function page(?string $from = null, ?int $limit = null, array $parameters * @param string $from The first chargevback ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/ClientEndpoint.php b/src/Endpoints/ClientEndpoint.php index 5e3efb94..cdad8b50 100644 --- a/src/Endpoints/ClientEndpoint.php +++ b/src/Endpoints/ClientEndpoint.php @@ -74,7 +74,7 @@ public function page(?string $from = null, ?int $limit = null, array $parameters * @param string $from The first client ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/CollectionEndpointAbstract.php b/src/Endpoints/CollectionEndpointAbstract.php index c36f54bc..81e05787 100644 --- a/src/Endpoints/CollectionEndpointAbstract.php +++ b/src/Endpoints/CollectionEndpointAbstract.php @@ -48,7 +48,7 @@ protected function rest_list(?string $from = null, ?int $limit = null, array $fi * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $filters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * @return Generator */ protected function rest_iterator(?string $from = null, ?int $limit = null, array $filters = [], bool $iterateBackwards = false): Generator @@ -63,7 +63,7 @@ protected function rest_iterator(?string $from = null, ?int $limit = null, array * Iterate over a CursorCollection and yield its elements. * * @param CursorCollection $page - * @param boolean $iterateBackwards + * @param bool $iterateBackwards * * @return Generator */ @@ -74,7 +74,7 @@ protected function iterate(CursorCollection $page, bool $iterateBackwards = fals yield $item; } - if (($iterateBackwards && !$page->hasPrevious()) || !$page->hasNext()) { + if (($iterateBackwards && ! $page->hasPrevious()) || ! $page->hasNext()) { break; } diff --git a/src/Endpoints/CustomerEndpoint.php b/src/Endpoints/CustomerEndpoint.php index 5e48a1b4..603ba1eb 100644 --- a/src/Endpoints/CustomerEndpoint.php +++ b/src/Endpoints/CustomerEndpoint.php @@ -126,7 +126,7 @@ public function page(?string $from = null, ?int $limit = null, array $parameters * @param string $from The first customer ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/CustomerPaymentsEndpoint.php b/src/Endpoints/CustomerPaymentsEndpoint.php index ea231b88..0738dd65 100644 --- a/src/Endpoints/CustomerPaymentsEndpoint.php +++ b/src/Endpoints/CustomerPaymentsEndpoint.php @@ -87,7 +87,7 @@ public function listFor(Customer $customer, ?string $from = null, ?int $limit = * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -119,7 +119,7 @@ public function listForId($customerId, ?string $from = null, ?int $limit = null, * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/InvoiceEndpoint.php b/src/Endpoints/InvoiceEndpoint.php index afd7750d..3f5af151 100644 --- a/src/Endpoints/InvoiceEndpoint.php +++ b/src/Endpoints/InvoiceEndpoint.php @@ -84,7 +84,7 @@ public function all(array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/MandateEndpoint.php b/src/Endpoints/MandateEndpoint.php index 160f4b74..75302515 100644 --- a/src/Endpoints/MandateEndpoint.php +++ b/src/Endpoints/MandateEndpoint.php @@ -111,7 +111,7 @@ public function listFor(Customer $customer, $from = null, $limit = null, array $ * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -143,7 +143,7 @@ public function listForId($customerId, $from = null, $limit = null, array $param * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/OrderEndpoint.php b/src/Endpoints/OrderEndpoint.php index 102b44ea..ee1eaaee 100644 --- a/src/Endpoints/OrderEndpoint.php +++ b/src/Endpoints/OrderEndpoint.php @@ -135,7 +135,7 @@ public function page(?string $from = null, ?int $limit = null, array $parameters * @param string $from The first order ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/PaymentCaptureEndpoint.php b/src/Endpoints/PaymentCaptureEndpoint.php index d7bd6f4e..1671f095 100644 --- a/src/Endpoints/PaymentCaptureEndpoint.php +++ b/src/Endpoints/PaymentCaptureEndpoint.php @@ -113,7 +113,7 @@ public function listFor(Payment $payment, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -143,7 +143,7 @@ public function listForId($paymentId, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/PaymentChargebackEndpoint.php b/src/Endpoints/PaymentChargebackEndpoint.php index e2f1d33a..42da9b03 100644 --- a/src/Endpoints/PaymentChargebackEndpoint.php +++ b/src/Endpoints/PaymentChargebackEndpoint.php @@ -81,7 +81,7 @@ public function listFor(Payment $payment, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -111,7 +111,7 @@ public function listForId($paymentId, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/PaymentEndpoint.php b/src/Endpoints/PaymentEndpoint.php index a68032cc..10ad9d34 100644 --- a/src/Endpoints/PaymentEndpoint.php +++ b/src/Endpoints/PaymentEndpoint.php @@ -147,7 +147,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/PaymentLinkEndpoint.php b/src/Endpoints/PaymentLinkEndpoint.php index 6e98c053..22adf5cd 100644 --- a/src/Endpoints/PaymentLinkEndpoint.php +++ b/src/Endpoints/PaymentLinkEndpoint.php @@ -92,7 +92,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/PaymentRefundEndpoint.php b/src/Endpoints/PaymentRefundEndpoint.php index 28c2ee36..9ea4a168 100644 --- a/src/Endpoints/PaymentRefundEndpoint.php +++ b/src/Endpoints/PaymentRefundEndpoint.php @@ -81,7 +81,7 @@ public function listFor(Payment $payment, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -111,7 +111,7 @@ public function listForId($paymentId, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/ProfileEndpoint.php b/src/Endpoints/ProfileEndpoint.php index 07647743..45d382df 100644 --- a/src/Endpoints/ProfileEndpoint.php +++ b/src/Endpoints/ProfileEndpoint.php @@ -148,7 +148,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/RefundEndpoint.php b/src/Endpoints/RefundEndpoint.php index 616f15af..720d14c5 100644 --- a/src/Endpoints/RefundEndpoint.php +++ b/src/Endpoints/RefundEndpoint.php @@ -55,7 +55,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SettlementCaptureEndpoint.php b/src/Endpoints/SettlementCaptureEndpoint.php index 4c08136a..03786563 100644 --- a/src/Endpoints/SettlementCaptureEndpoint.php +++ b/src/Endpoints/SettlementCaptureEndpoint.php @@ -50,7 +50,7 @@ public function pageForId(string $settlementId, string $from = null, int $limit * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SettlementChargebackEndpoint.php b/src/Endpoints/SettlementChargebackEndpoint.php index 2992c322..6dc5a735 100644 --- a/src/Endpoints/SettlementChargebackEndpoint.php +++ b/src/Endpoints/SettlementChargebackEndpoint.php @@ -53,7 +53,7 @@ public function pageForId(string $settlementId, string $from = null, int $limit * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SettlementPaymentEndpoint.php b/src/Endpoints/SettlementPaymentEndpoint.php index 9766bd1d..5dc6b4e4 100644 --- a/src/Endpoints/SettlementPaymentEndpoint.php +++ b/src/Endpoints/SettlementPaymentEndpoint.php @@ -51,7 +51,7 @@ public function pageForId($settlementId, $from = null, $limit = null, array $par * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SettlementRefundEndpoint.php b/src/Endpoints/SettlementRefundEndpoint.php index 4984fe23..dc11f782 100644 --- a/src/Endpoints/SettlementRefundEndpoint.php +++ b/src/Endpoints/SettlementRefundEndpoint.php @@ -53,7 +53,7 @@ public function pageForId(string $settlementId, string $from = null, int $limit * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SettlementsEndpoint.php b/src/Endpoints/SettlementsEndpoint.php index 6fc4c570..2de54067 100644 --- a/src/Endpoints/SettlementsEndpoint.php +++ b/src/Endpoints/SettlementsEndpoint.php @@ -92,7 +92,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/SubscriptionEndpoint.php b/src/Endpoints/SubscriptionEndpoint.php index b0975049..690992fb 100644 --- a/src/Endpoints/SubscriptionEndpoint.php +++ b/src/Endpoints/SubscriptionEndpoint.php @@ -146,7 +146,7 @@ public function listFor(Customer $customer, $from = null, $limit = null, array $ * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -178,7 +178,7 @@ public function listForId($customerId, $from = null, $limit = null, array $param * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ @@ -251,7 +251,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */ diff --git a/src/Endpoints/TerminalEndpoint.php b/src/Endpoints/TerminalEndpoint.php index 9b1d90a3..dbd9ff12 100644 --- a/src/Endpoints/TerminalEndpoint.php +++ b/src/Endpoints/TerminalEndpoint.php @@ -77,7 +77,7 @@ public function page($from = null, $limit = null, array $parameters = []) * @param string $from The first resource ID you want to include in your list. * @param int $limit * @param array $parameters - * @param boolean $iterateBackwards Set to true for reverse order iteration (default is false). + * @param bool $iterateBackwards Set to true for reverse order iteration (default is false). * * @return Generator */