Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and github-actions[bot] committed Oct 26, 2023
1 parent f558f5f commit 4a87609
Show file tree
Hide file tree
Showing 24 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/Endpoints/BalanceEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Endpoints/BalanceTransactionEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/ChargebackEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/ClientEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Endpoints/CollectionEndpointAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
*/
Expand All @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/CustomerEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/CustomerPaymentsEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/InvoiceEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/MandateEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/OrderEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/PaymentCaptureEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/PaymentChargebackEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/PaymentEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/PaymentLinkEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/PaymentRefundEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/ProfileEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/RefundEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/SettlementCaptureEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/SettlementChargebackEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/SettlementPaymentEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/SettlementRefundEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/SettlementsEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Endpoints/SubscriptionEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoints/TerminalEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 4a87609

Please sign in to comment.