mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix phpcs
This commit is contained in:
parent
6ec624d37b
commit
ea6685d0d5
2 changed files with 25 additions and 25 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue