mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix psalm
This commit is contained in:
parent
e9cafc7628
commit
e68ff57572
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ class CustomerRepository {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns a unique ID for the given user ID.
|
||||
* Returns the customer ID for the given user ID.
|
||||
*
|
||||
* @param int $user_id The user ID.
|
||||
* @return string
|
||||
|
@ -42,6 +42,6 @@ class CustomerRepository {
|
|||
return $this->prefix . $guest_customer_id;
|
||||
}
|
||||
|
||||
return $this->prefix . $user_id;
|
||||
return $this->prefix . (string) $user_id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue