Ignore phpcs warnings

This commit is contained in:
Emili Castells Guasch 2023-07-24 12:04:03 +02:00
parent ff7e505028
commit 0278db9787

View file

@ -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,
)