From 5e7bd05518b02e9863b3fc6813ed566b014bc751 Mon Sep 17 00:00:00 2001 From: FOSSBilling Bot <121974958+fossbilling-bot@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:47:58 +0100 Subject: [PATCH] Apply PHP Code Styling & Quality Changes (#2440) Co-authored-by: FOSSBilling Bot --- src/library/Payment/Adapter/PayPalEmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/Payment/Adapter/PayPalEmail.php b/src/library/Payment/Adapter/PayPalEmail.php index 7d89dd1d2..7c441086c 100644 --- a/src/library/Payment/Adapter/PayPalEmail.php +++ b/src/library/Payment/Adapter/PayPalEmail.php @@ -204,7 +204,7 @@ class Payment_Adapter_PayPalEmail extends Payment_AdapterAbstract implements FOS // use http_raw_post_data instead of post due to encoding parse_str($data['http_raw_post_data'], $post); $req = 'cmd=_notify-validate'; - foreach ((array) $post as $key => $value) { + foreach ($post as $key => $value) { $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; }