Completed
Pull Request — master (#28)
by Vladimir
04:16
created
src/Manager/PageManager.php 1 patch
Braces   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,9 @@  discard block
 block discarded – undo
72 72
 
73 73
     public function setCollections (&$collections)
74 74
     {
75
-        if (empty($collections)) { return; }
75
+        if (empty($collections))
76
+        {
77
+return; }
76 78
 
77 79
         $this->collections = &$collections;
78 80
     }
@@ -132,7 +134,9 @@  discard block
 block discarded – undo
132 134
      */
133 135
     public function parsePageViews ($pageViewFolders)
134 136
     {
135
-        if (empty($pageViewFolders)) { return; }
137
+        if (empty($pageViewFolders))
138
+        {
139
+return; }
136 140
 
137 141
         /**
138 142
          * The name of the folder where PageViews are located
@@ -292,7 +296,8 @@  discard block
 block discarded – undo
292 296
         {
293 297
             $this->addToSiteMenu($pageView);
294 298
 
295
-            if (!empty($pageView->title)) {
299
+            if (!empty($pageView->title))
300
+            {
296 301
                 $this->flatPages[$pageView->title] = &$pageView;
297 302
             }
298 303
         }
@@ -539,7 +544,9 @@  discard block
 block discarded – undo
539 544
      */
540 545
     private function trackParentTwigTemplate ($template, &$pageView)
541 546
     {
542
-        if (!$this->tracking) { return; }
547
+        if (!$this->tracking)
548
+        {
549
+return; }
543 550
 
544 551
         /** @var Twig_Template $parent */
545 552
         $parent = $template->getParent(array());
Please login to merge, or discard this patch.