mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Ignore phpcs warnings
This commit is contained in:
parent
ff7e505028
commit
0278db9787
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ class VaultPaymentTokenCreated implements RequestHandler {
|
|||
private function wc_customer_id_from( string $customer_id ): int {
|
||||
$customers = get_users(
|
||||
array(
|
||||
'meta_key' => 'ppcp_guest_customer_id',
|
||||
'meta_value' => $customer_id,
|
||||
'meta_key' => 'ppcp_guest_customer_id', //phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_key
|
||||
'meta_value' => $customer_id, //phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_value
|
||||
'fields' => 'ids',
|
||||
'number' => 1,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue