mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Correct Auth#getUser() type spec
Doc says it may be null.
This commit is contained in:
parent
32e958e4da
commit
874af33d81
@ -45,7 +45,7 @@ class Auth
|
|||||||
/**
|
/**
|
||||||
* Authenticated user
|
* Authenticated user
|
||||||
*
|
*
|
||||||
* @var User
|
* @var User|null
|
||||||
*/
|
*/
|
||||||
private $user;
|
private $user;
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ class Auth
|
|||||||
/**
|
/**
|
||||||
* Returns the current user or null if no user is authenticated
|
* Returns the current user or null if no user is authenticated
|
||||||
*
|
*
|
||||||
* @return User
|
* @return User|null
|
||||||
*/
|
*/
|
||||||
public function getUser()
|
public function getUser()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user