From 0f976a260b43a772986a7a75ebea4eef666bc59d Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 6 May 2020 22:35:20 +0200 Subject: [PATCH] Fix doc comment for parameter 'ipAddress' on 'Auth' constructor --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index b48be68..e3e6397 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -35,7 +35,7 @@ final class Auth extends UserManager { /** * @param PdoDatabase|PdoDsn|\PDO $databaseConnection the database connection to operate on - * @param string $ipAddress the IP address that should be used instead of the default setting (if any), e.g. when behind a proxy + * @param string|null $ipAddress (optional) the IP address that should be used instead of the default setting (if any), e.g. when behind a proxy * @param string|null $dbTablePrefix (optional) the prefix for the names of all database tables used by this component * @param bool|null $throttling (optional) whether throttling should be enabled (e.g. in production) or disabled (e.g. during development) * @param int|null $sessionResyncInterval (optional) the interval in seconds after which to resynchronize the session data with its authoritative source in the database