From 1e54ac4806a003a6ffe6ea6dae24fa9aae60fb2f Mon Sep 17 00:00:00 2001 From: Naoray Date: Fri, 27 Oct 2023 08:17:10 +0000 Subject: [PATCH] Fix styling --- examples/pagination/backwards.php | 4 ++-- examples/pagination/basic_usage.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/pagination/backwards.php b/examples/pagination/backwards.php index d14823dc..35aa6363 100644 --- a/examples/pagination/backwards.php +++ b/examples/pagination/backwards.php @@ -41,7 +41,7 @@ while ($page->hasPrevious()) { foreach ($page as $order) { - echo ($order->id); + echo($order->id); } $page = $page->previous(); @@ -50,7 +50,7 @@ // iterating backwards using the iterator by passing iterateBackwards = true // in php 8.0+ you could also use the named parameter syntax iterator(iterateBackwards: true) foreach ($mollie->orders->iterator(null, null, [], true) as $order) { - echo ($order->id); + echo($order->id); } } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . htmlspecialchars($e->getMessage()); diff --git a/examples/pagination/basic_usage.php b/examples/pagination/basic_usage.php index 658da245..3e927ca8 100644 --- a/examples/pagination/basic_usage.php +++ b/examples/pagination/basic_usage.php @@ -40,7 +40,7 @@ while ($page->hasNext()) { foreach ($page as $order) { - echo ($order->id); + echo($order->id); } $page = $page->next(); @@ -49,7 +49,7 @@ // using the iterator we can iterate over all orders directly foreach ($mollie->orders->iterator() as $order) { - echo ($order->id); + echo($order->id); } } catch (\Mollie\Api\Exceptions\ApiException $e) { echo "API call failed: " . htmlspecialchars($e->getMessage());