Improved code style
authorMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:10:12 +0000 (18:10 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:10:12 +0000 (18:10 +0200)
wcfsetup/install/files/lib/action/PaypalCallbackAction.class.php

index f972bc5ea479daf3afb93b750966aecdfce0d97a..717b188c3b28a3a60649a0fea562fc075ffc6a01 100644 (file)
@@ -43,7 +43,12 @@ class PaypalCallbackAction extends AbstractAction
 
                 $request = new Request('POST', $url, [
                     'Content-Type' => 'application/x-www-form-urlencoded',
-                ], \http_build_query(\array_merge(['cmd' => '_notify-validate'], $_POST), '', '&', \PHP_QUERY_RFC1738));
+                ], \http_build_query(
+                    \array_merge(['cmd' => '_notify-validate'], $_POST),
+                    '',
+                    '&',
+                    \PHP_QUERY_RFC1738
+                ));
                 $client = HttpFactory::getDefaultClient();
                 $response = $client->send($request);
                 $content = (string)$response->getBody();