@@ -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 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | ->andWhere('e.nodeIdentifier = :nodeIdentifier') |
46 | 46 | ->setParameter('nodeIdentifier', $nodeIdentifier); |
47 | 47 | } |
48 | - if($accountIdentifier) { |
|
48 | + if ($accountIdentifier) { |
|
49 | 49 | $query->getQueryBuilder() |
50 | 50 | ->andWhere('e.accountIdentifier = :accountIdentifier') |
51 | 51 | ->setParameter('accountIdentifier', $accountIdentifier); |