Skip to content

Commit

Permalink
Fix 2 PHPStan warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Dec 21, 2023
1 parent 196b43c commit b294a67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/PaymentMethodsField.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ private function get_pronamic_payment_method_options() {
* Render options.
*
* @param array $options Options.
*
* @return array
* @return array<string, string>
*/
public function render_options( $options ) {
foreach ( $options as &$option ) {
Expand All @@ -144,7 +143,7 @@ public function render_options( $options ) {
/**
* Get gateway available payment methods.
*
* @return array
* @return array<string, string>
*/
private function get_pronamic_gateway_payment_methods() {
$form_id = \filter_input( \INPUT_GET, 'form_id', \FILTER_SANITIZE_NUMBER_INT );
Expand Down

0 comments on commit b294a67

Please sign in to comment.