Fix phpcs

This commit is contained in:
Emili Castells Guasch 2025-01-21 11:33:35 +01:00
parent 6ec624d37b
commit ea6685d0d5
2 changed files with 25 additions and 25 deletions

View file

@ -314,7 +314,7 @@ class PaymentRestEndpoint extends RestEndpoint {
$request_data = $request->get_params();
foreach ( $this->gateways() as $key => $value) {
foreach ( $this->gateways() as $key => $value ) {
// Check if the REST body contains details for this gateway.
if ( ! isset( $request_data[ $key ] ) || ! isset( $all_gateways[ $key ] ) ) {
continue;