Merge pull request #22825 from thatwasnotme/fix/data-stores-docs-param-type

Correct invalid param type from id to int
This commit is contained in:
Mike Jolley 2019-02-26 10:24:58 +00:00 committed by GitHub
commit 176965d139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class WC_Payment_Token_Data_Store extends WC_Data_Store_WP implements WC_Payment
* Should contain the fields token_id, gateway_id, token, user_id, type, is_default.
*
* @since 3.0.0
* @param id $user_id User ID.
* @param int $user_id User ID.
* @return object
*/
public function get_users_default_token( $user_id ) {