From: Thalia Date: Wed, 20 Feb 2019 19:47:39 +0000 (+0000) Subject: Fix grammar in UserPasswordPolicy documentation X-Git-Tag: 1.34.0-rc.0~2748^2 X-Git-Url: https://git.cyclocoop.org/admin/Duna?a=commitdiff_plain;h=8d35f17519491f0c680d7724ebecf2b9ef1ae9e1;p=lhc%2Fweb%2Fwiklou.git Fix grammar in UserPasswordPolicy documentation Change-Id: I423d5ce9f9a778ee21381ba433a52b8bd3e154fc --- diff --git a/includes/password/UserPasswordPolicy.php b/includes/password/UserPasswordPolicy.php index 9eb921dcfa..c61c795fcb 100644 --- a/includes/password/UserPasswordPolicy.php +++ b/includes/password/UserPasswordPolicy.php @@ -64,8 +64,8 @@ class UserPasswordPolicy { } /** - * Check if a passwords meets the effective password policy for a User. - * @param User $user who's policy we are checking + * Check if a password meets the effective password policy for a User. + * @param User $user whose policy we are checking * @param string $password the password to check * @return Status error to indicate the password didn't meet the policy, or fatal to * indicate the user shouldn't be allowed to login. The status value will be an array, @@ -83,10 +83,10 @@ class UserPasswordPolicy { } /** - * Check if a passwords meets the effective password policy for a User, using a set + * Check if a password meets the effective password policy for a User, using a set * of groups they may or may not belong to. This function does not use the DB, so can * be used in the installer. - * @param User $user who's policy we are checking + * @param User $user whose policy we are checking * @param string $password the password to check * @param array $groups list of groups to which we assume the user belongs * @return Status error to indicate the password didn't meet the policy, or fatal to