docs fixes

This commit is contained in:
Yuri Kuznetsov
2020-06-29 15:50:40 +03:00
parent a81086493f
commit c7f8b4899a
2 changed files with 5 additions and 2 deletions

View File

@@ -401,6 +401,9 @@ class AclManager
return $this->checkUserPermission($user, $target, 'assignmentPermission');
}
/**
* Create a wrapper for a specific user.
*/
public function createUserAcl(User $user) : UserAclWrapper
{
$className = $this->userAclClassName;

View File

@@ -91,7 +91,7 @@ class ApplicationState
}
/**
* Whether logged as admin.
* Whether logged as an admin.
*/
public function isAdmin() : bool
{
@@ -101,7 +101,7 @@ class ApplicationState
/**
* Whether logged as api user.
* Whether logged as an api user.
*/
public function isApi() : bool
{