@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * PageManager constructor |
60 | 60 | */ |
61 | - public function __construct() |
|
61 | + public function __construct () |
|
62 | 62 | { |
63 | 63 | parent::__construct(); |
64 | 64 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * {@inheritdoc} |
230 | 230 | */ |
231 | - public function isTracked($filePath) |
|
231 | + public function isTracked ($filePath) |
|
232 | 232 | { |
233 | 233 | return (parent::isTracked($filePath) || isset($this->twigExtendsDeps[$filePath])); |
234 | 234 | } |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * {@inheritdoc} |
238 | 238 | */ |
239 | - public function refreshItem($filePath) |
|
239 | + public function refreshItem ($filePath) |
|
240 | 240 | { |
241 | 241 | if (parent::isTracked($filePath)) |
242 | 242 | { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * {@inheritdoc} |
258 | 258 | */ |
259 | - protected function handleTrackableItem($filePath, $options = array()) |
|
259 | + protected function handleTrackableItem ($filePath, $options = array()) |
|
260 | 260 | { |
261 | 261 | $pageView = PageView::create($filePath); |
262 | 262 | $namespace = $pageView->getType(); |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | { |
535 | 535 | $filePath = $this->fs->getRelativePath($parent->getSourceContext()->getPath()); |
536 | 536 | |
537 | - $this->twigExtendsDeps[$filePath][(string)$pageView->getFilePath()] = &$pageView; |
|
537 | + $this->twigExtendsDeps[$filePath][(string) $pageView->getFilePath()] = &$pageView; |
|
538 | 538 | $parent = $parent->getParent(array()); |
539 | 539 | } |
540 | 540 | } |
@@ -139,11 +139,11 @@ discard block |
||
139 | 139 | $this->pm->configureTwig($this->getConfiguration(), array( |
140 | 140 | 'safe' => $this->safeMode, |
141 | 141 | 'globals' => array( |
142 | - array('name' => 'site', 'value' => $this->getConfiguration()->getConfiguration()), |
|
142 | + array('name' => 'site', 'value' => $this->getConfiguration()->getConfiguration()), |
|
143 | 143 | array('name' => 'collections', 'value' => $this->cm->getCollections()), |
144 | - array('name' => 'menu', 'value' => $this->pm->getSiteMenu()), |
|
145 | - array('name' => 'pages', 'value' => $this->pm->getFlatPages()), |
|
146 | - array('name' => 'data', 'value' => $this->dm->getDataItems()) |
|
144 | + array('name' => 'menu', 'value' => $this->pm->getSiteMenu()), |
|
145 | + array('name' => 'pages', 'value' => $this->pm->getFlatPages()), |
|
146 | + array('name' => 'data', 'value' => $this->dm->getDataItems()) |
|
147 | 147 | ) |
148 | 148 | )); |
149 | 149 | $this->pm->compileAll(); |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | /** |
310 | 310 | * @return boolean |
311 | 311 | */ |
312 | - public function isNoClean() |
|
312 | + public function isNoClean () |
|
313 | 313 | { |
314 | 314 | return $this->noClean; |
315 | 315 | } |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | /** |
318 | 318 | * @param boolean $noClean |
319 | 319 | */ |
320 | - public function setNoClean($noClean) |
|
320 | + public function setNoClean ($noClean) |
|
321 | 321 | { |
322 | 322 | $this->noClean = $noClean; |
323 | 323 | } |