This commit is contained in:
Yuri Kuznetsov
2021-04-18 22:17:16 +03:00
parent e2a0314742
commit 12a9afe2fe
77 changed files with 363 additions and 315 deletions

View File

@@ -59,7 +59,7 @@ class ApplicationUser
/**
* Setup the system user as a current user. The system user is used when no user is logged in.
*/
public function setupSystemUser() : void
public function setupSystemUser(): void
{
$user = $this->entityManagerProxy->getEntity('User', 'system');
@@ -76,7 +76,7 @@ class ApplicationUser
/**
* Set a current user.
*/
public function setUser(User $user) : void
public function setUser(User $user): void
{
$this->container->set('user', $user);
}