@@ -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(); |
@@ -107,11 +107,11 @@ |
||
| 107 | 107 | $contentContext = $this->createContentContext('live'); |
| 108 | 108 | $actualNode = $contentContext->getNodeByIdentifier($node); |
| 109 | 109 | if ($actualNode) { |
| 110 | - $firstEvent = [ |
|
| 110 | + $firstEvent = [ |
|
| 111 | 111 | 'nodeIdentifier' => $node, |
| 112 | 112 | 'node' => $actualNode, |
| 113 | 113 | 'data' => ['documentNodeType' => $actualNode->getNodeType()->getName(), 'documentNodeLabel' => $actualNode->getLabel()] |
| 114 | - ]; |
|
| 114 | + ]; |
|
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |