@@ -67,7 +67,9 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | public function setCollections (&$collections) |
| 69 | 69 | { |
| 70 | - if (empty($collections)) { return; } |
|
| 70 | + if (empty($collections)) |
|
| 71 | + { |
|
| 72 | +return; } |
|
| 71 | 73 | |
| 72 | 74 | $this->collections = &$collections; |
| 73 | 75 | } |
@@ -122,7 +124,9 @@ discard block |
||
| 122 | 124 | */ |
| 123 | 125 | public function parsePageViews ($pageViewFolders) |
| 124 | 126 | { |
| 125 | - if (empty($pageViewFolders)) { return; } |
|
| 127 | + if (empty($pageViewFolders)) |
|
| 128 | + { |
|
| 129 | +return; } |
|
| 126 | 130 | |
| 127 | 131 | /** |
| 128 | 132 | * The name of the folder where PageViews are located |
@@ -525,7 +529,9 @@ discard block |
||
| 525 | 529 | */ |
| 526 | 530 | private function trackParentTwigTemplate ($template, &$pageView) |
| 527 | 531 | { |
| 528 | - if (!$this->tracking) { return; } |
|
| 532 | + if (!$this->tracking) |
|
| 533 | + { |
|
| 534 | +return; } |
|
| 529 | 535 | |
| 530 | 536 | /** @var Twig_Template $parent */ |
| 531 | 537 | $parent = $template->getParent(array()); |