@@ -69,7 +69,7 @@ |
||
| 69 | 69 | { |
| 70 | 70 | $numberOfSites = 0; |
| 71 | 71 | // In case a user can only access a single site, but more sites exists |
| 72 | - $this->securityContext->withoutAuthorizationChecks(function () use(&$numberOfSites) { |
|
| 72 | + $this->securityContext->withoutAuthorizationChecks(function() use(&$numberOfSites) { |
|
| 73 | 73 | $numberOfSites = $this->siteRepository->countAll(); |
| 74 | 74 | }); |
| 75 | 75 | $sites = $this->siteRepository->findOnline(); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | try { |
| 39 | 39 | $asset->getResource(); |
| 40 | - } catch(EntityNotFoundException $e) { |
|
| 40 | + } catch (EntityNotFoundException $e) { |
|
| 41 | 41 | return ''; |
| 42 | 42 | } |
| 43 | 43 | return $this->renderChildren(); |