Skip to content

Commit

Permalink
Cast vars to strings to make PHPStan happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Sep 27, 2023
1 parent fd373d1 commit 9fdee84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ public function scheduled_payment_start( $payment_id ) {
throw new \Exception(
\sprintf(
'Could not create Mollie payment for %s after %s attempts.',
\esc_html( $payment_id ),
\esc_html( $attempt )
\esc_html( (string) $payment_id ),
\esc_html( (string) $attempt )
)
);
}
Expand Down

0 comments on commit 9fdee84

Please sign in to comment.