Completed
Pull Request — master (#41)
by Vladimir
03:10
created
src/allejo/stakx/Manager/PageManager.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Compiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.