@@ -87,7 +87,7 @@ |
||
| 87 | 87 | |
| 88 | 88 | $numberOfSites = 0; |
| 89 | 89 | // In case a user can only access a single site, but more sites exists |
| 90 | - $this->securityContext->withoutAuthorizationChecks(function () use (&$numberOfSites) { |
|
| 90 | + $this->securityContext->withoutAuthorizationChecks(function() use (&$numberOfSites) { |
|
| 91 | 91 | $numberOfSites = $this->siteRepository->countAll(); |
| 92 | 92 | }); |
| 93 | 93 | $sites = $this->siteRepository->findOnline(); |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | $dqlQuery = $this->createDqlQuery($dql); |
| 118 | 118 | $dqlQuery->setParameters($query->getParameters()); |
| 119 | 119 | |
| 120 | - return array_map(static function ($result) { |
|
| 120 | + return array_map(static function($result) { |
|
| 121 | 121 | return $result['accountIdentifier']; |
| 122 | 122 | }, $dqlQuery->execute()); |
| 123 | 123 | } |