From 7d2ee41f4247ee1340e7d9044399e8af3eb70a29 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Jun 2014 15:33:33 +0200 Subject: [PATCH] Autologin: Fix PHPDoc --- .../Authentication/Backend/AutoLoginBackend.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 */