@@ -84,13 +84,13 @@ discard block |
||
84 | 84 | $this->bodyContentEvaluated = true; |
85 | 85 | } |
86 | 86 | |
87 | - return (string)$this->bodyContent; |
|
87 | + return (string) $this->bodyContent; |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | 91 | * @return PageView |
92 | 92 | */ |
93 | - public function &getPageView () |
|
93 | + public function &getPageView() |
|
94 | 94 | { |
95 | 95 | return $this->parentPageView; |
96 | 96 | } |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | /** |
114 | 114 | * {@inheritdoc} |
115 | 115 | */ |
116 | - public function jsonSerialize() |
|
116 | + public function jsonSerialize () |
|
117 | 117 | { |
118 | 118 | return array_merge($this->getFrontMatter(), array( |
119 | 119 | 'content' => $this->getContent() |
@@ -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 | } |