@@ -72,7 +72,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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()); |