From deadd67691059bb5f4aecedb388b4efc5665dc48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Thu, 29 Apr 2021 16:19:06 +0200 Subject: [PATCH] clarify callable arguments for password checker (#2812) --- src/Extend/Auth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Extend/Auth.php b/src/Extend/Auth.php index 375e77e8d..a69db6ef6 100644 --- a/src/Extend/Auth.php +++ b/src/Extend/Auth.php @@ -23,6 +23,7 @@ class Auth implements ExtenderInterface * * @param string $identifier: Unique identifier for password checker. * @param callable|string $callback: A closure or invokable class that contains the logic of the password checker. + * Arguments are a User $object and string $password. * It should return: * - `true` if the given password is valid. * - `null` (or not return anything) if the given password is invalid, or this checker does not apply.