From 2ae69d5f5821f07ba72ddca325c4c1c20e1812fd Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:11:08 +0100 Subject: [PATCH] #[\ReturnTypeWillChange] --- src/PaymentMethodDetails.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PaymentMethodDetails.php b/src/PaymentMethodDetails.php index 6221a46..b877f1f 100644 --- a/src/PaymentMethodDetails.php +++ b/src/PaymentMethodDetails.php @@ -37,6 +37,7 @@ public function __construct( $type ) { * * @return object */ + #[\ReturnTypeWillChange] public function jsonSerialize() { return (object) get_object_vars( $this ); }