From 1284f64f043ebe69bb2e5f878667fb5517af0b80 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 19 Oct 2017 02:27:42 +0200 Subject: [PATCH] Fix documentation for method 'setRememberCookie' in class 'Auth' --- src/Auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Auth.php b/src/Auth.php index f0c888e..c921ca4 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -409,9 +409,9 @@ final class Auth extends UserManager { /** * Sets or updates the cookie that manages the "remember me" token * - * @param string $selector the selector from the selector/token pair - * @param string $token the token from the selector/token pair - * @param int $expires the interval in seconds after which the token should expire + * @param string|null $selector the selector from the selector/token pair + * @param string|null $token the token from the selector/token pair + * @param int $expires the UNIX time in seconds which the token should expire at * @throws AuthError if an internal problem occurred (do *not* catch) */ private function setRememberCookie($selector, $token, $expires) {