Completed
Push — master ( d14277...a23ebb )
by Vladimir
06:29
created
src/Manager/PageManager.php 1 patch
Braces   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,9 @@  discard block
 block discarded – undo
73 73
 
74 74
     public function setCollections (&$collections)
75 75
     {
76
-        if (empty($collections)) { return; }
76
+        if (empty($collections))
77
+        {
78
+return; }
77 79
 
78 80
         $this->collections = &$collections;
79 81
     }
@@ -124,7 +126,8 @@  discard block
 block discarded – undo
124 126
     {
125 127
         static $jailedMenu = array();
126 128
 
127
-        if (!empty($jailedMenu)) {
129
+        if (!empty($jailedMenu))
130
+        {
128 131
             return $jailedMenu;
129 132
         }
130 133
 
@@ -150,7 +153,9 @@  discard block
 block discarded – undo
150 153
      */
151 154
     public function parsePageViews ($pageViewFolders)
152 155
     {
153
-        if (empty($pageViewFolders)) { return; }
156
+        if (empty($pageViewFolders))
157
+        {
158
+return; }
154 159
 
155 160
         /**
156 161
          * The name of the folder where PageViews are located
@@ -555,7 +560,9 @@  discard block
 block discarded – undo
555 560
      */
556 561
     private function trackParentTwigTemplate ($template, &$pageView)
557 562
     {
558
-        if (!$this->tracking) { return; }
563
+        if (!$this->tracking)
564
+        {
565
+return; }
559 566
 
560 567
         /** @var Twig_Template $parent */
561 568
         $parent = $template->getParent(array());
Please login to merge, or discard this patch.