Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Mar 21, 2021
1 parent 4eb69d1 commit d33c168
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Menu/MenuAuthorizator.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ final class MenuAuthorizator
private array $privileges;


public function __construct(EntityManager $entityManager, NetteUser $userService, UserManagerAccessor $userManager)
{
public function __construct(
EntityManager $entityManager,
NetteUser $userService,
UserManagerAccessor $userManager,
) {
if ($userService->isLoggedIn() === false) {
$this->id = null;
$this->roles = [];
Expand Down

0 comments on commit d33c168

Please sign in to comment.