Docs: Update documentation for WP_Application_Passwords::application_name_exists_for_user() per the documentation standards.

Follow-up to [50030].

See #51941.

git-svn-id: https://develop.svn.wordpress.org/trunk@50057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-01-28 13:09:10 +00:00
parent 2efb3ad330
commit 151787f21c

View File

@@ -172,14 +172,13 @@ class WP_Application_Passwords {
}
/**
* Check if application name exists before for this user.
* Checks if application name exists for this user.
*
* @since 5.7.0
*
* @param int $user_id User ID.
* @param string $name Application name.
*
* @return bool Provided application name exists or not.
* @return bool Whether provided application name exists or not.
*/
public static function application_name_exists_for_user( $user_id, $name ) {
$passwords = static::get_user_application_passwords( $user_id );