diff --git a/library/Icinga/Authentication/Backend/AutoLoginBackend.php b/library/Icinga/Authentication/Backend/AutoLoginBackend.php index 67206b8de..d793b50dd 100644 --- a/library/Icinga/Authentication/Backend/AutoLoginBackend.php +++ b/library/Icinga/Authentication/Backend/AutoLoginBackend.php @@ -31,13 +31,11 @@ class AutoLoginBackend extends UserBackend } /** - * (PHP 5 >= 5.1.0)
- * Count elements of an object - * @link http://php.net/manual/en/countable.count.php - * @return int The custom count as an integer. - *

- *

- * The return value is cast to an integer. + * Count the available users + * + * Autologin backends will always return 1 + * + * @return int */ public function count() { @@ -73,8 +71,8 @@ class AutoLoginBackend extends UserBackend /** * Authenticate * - * @param User $user - * @param string $password + * @param User $user + * @param string $password * * @return bool */