@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * PageManager constructor |
51 | 51 | */ |
52 | - public function __construct() |
|
52 | + public function __construct () |
|
53 | 53 | { |
54 | 54 | parent::__construct(); |
55 | 55 | |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | /** |
146 | 146 | * {@inheritdoc} |
147 | 147 | */ |
148 | - public function isTracked($filePath) |
|
148 | + public function isTracked ($filePath) |
|
149 | 149 | { |
150 | 150 | return (parent::isTracked($filePath) || isset($this->twigExtendsDeps[$filePath])); |
151 | 151 | } |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | /** |
162 | 162 | * {@inheritdoc} |
163 | 163 | */ |
164 | - protected function handleTrackableItem($filePath, $options = array()) |
|
164 | + protected function handleTrackableItem ($filePath, $options = array()) |
|
165 | 165 | { |
166 | 166 | $pageView = PageView::create($filePath); |
167 | 167 | $namespace = $pageView->getType(); |
@@ -100,7 +100,9 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function parsePageViews ($pageViewFolders) |
102 | 102 | { |
103 | - if (empty($pageViewFolders)) { return; } |
|
103 | + if (empty($pageViewFolders)) |
|
104 | + { |
|
105 | +return; } |
|
104 | 106 | |
105 | 107 | /** |
106 | 108 | * The name of the folder where PageViews are located |
@@ -211,7 +213,9 @@ discard block |
||
211 | 213 | */ |
212 | 214 | private function handleTrackableStaticPageView ($pageView) |
213 | 215 | { |
214 | - if (empty($pageView['title'])) { return; } |
|
216 | + if (empty($pageView['title'])) |
|
217 | + { |
|
218 | +return; } |
|
215 | 219 | |
216 | 220 | $this->flatPages[$pageView['title']] = $pageView; |
217 | 221 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** @var Twig_Environment */ |
42 | 42 | private $twig; |
43 | 43 | |
44 | - public function __construct() |
|
44 | + public function __construct () |
|
45 | 45 | { |
46 | 46 | parent::__construct(); |
47 | 47 |