1
0
Fork 0

Improved documentation

This commit is contained in:
Michael 2021-06-08 06:39:23 +00:00
commit 126e281165
2 changed files with 5 additions and 2 deletions

View file

@ -68,7 +68,10 @@ class BasicAuth
}
/**
* Get current user id, returns 0 if not logged in
* Get current user id, returns 0 if $login is set to false and not logged in.
* When $login is true, the execution will stop when not logged in.
*
* @param bool $login Perform a login request if "true"
*
* @return int User ID
*/