Completed
Push — master ( c1cecd...0dc9d2 )
by Vladimir
02:08
created
src/Manager/PageManager.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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());
Please login to merge, or discard this patch.