From b294a6765298c0e94896a7b61f5be25568590b3c Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:18:36 +0100 Subject: [PATCH] Fix 2 PHPStan warnings. --- src/PaymentMethodsField.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/PaymentMethodsField.php b/src/PaymentMethodsField.php index a88ff61..3d99213 100644 --- a/src/PaymentMethodsField.php +++ b/src/PaymentMethodsField.php @@ -128,8 +128,7 @@ private function get_pronamic_payment_method_options() { * Render options. * * @param array $options Options. - * - * @return array + * @return array */ public function render_options( $options ) { foreach ( $options as &$option ) { @@ -144,7 +143,7 @@ public function render_options( $options ) { /** * Get gateway available payment methods. * - * @return array + * @return array */ private function get_pronamic_gateway_payment_methods() { $form_id = \filter_input( \INPUT_GET, 'form_id', \FILTER_SANITIZE_NUMBER_INT );