Passed
Push — master ( 075143...f7d14a )
by Aske
09:31
created
Classes/Controller/HistoryController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,11 +107,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Classes/Domain/Repository/NodeEventRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.