From db5d848522ceb9be0e2ea7e378a197d00b03f79a Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:59:48 +0200 Subject: [PATCH] phpcbf --- src/Gateway.php | 2 +- src/OrderItems.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gateway.php b/src/Gateway.php index 5aa00f1..2e0d487 100644 --- a/src/Gateway.php +++ b/src/Gateway.php @@ -78,7 +78,7 @@ public function __construct( Config $config ) { $ideal_issuer_field->set_options( new CachedCallbackOptions( - function() { + function () { return $this->get_ideal_issuers(); }, 'pronamic_pay_ideal_issuers_' . \md5( \wp_json_encode( $config ) ) diff --git a/src/OrderItems.php b/src/OrderItems.php index b484523..7f0ca5b 100644 --- a/src/OrderItems.php +++ b/src/OrderItems.php @@ -83,7 +83,7 @@ public function get_order_items() { #[\ReturnTypeWillChange] public function jsonSerialize() { $data = \array_map( - static function( OrderItem $item ) { + static function ( OrderItem $item ) { return $item; }, $this->get_order_items()