Completed
Pull Request — master (#48)
by Vladimir
02:36
created
src/allejo/stakx/Compiler.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
         $this->pageViewsFlattened = &$pageViewsFlattened;
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $themeName
95
+     */
93 96
     public function setThemeName($themeName)
94 97
     {
95 98
         $this->theme = $themeName;
@@ -378,7 +381,6 @@  discard block
 block discarded – undo
378 381
      * Get the compiled HTML for a specific ContentItem.
379 382
      *
380 383
      * @param Twig_Template $template
381
-     * @param PageView      $pageView
382 384
      * @param ContentItem   $contentItem
383 385
      *
384 386
      * @since  0.1.1
Please login to merge, or discard this patch.
src/allejo/stakx/Document/DynamicPageView.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * {@inheritdoc}
37
+     * @param string $filePath
37 38
      */
38 39
     public function __construct($filePath)
39 40
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Document/TwigDocumentInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param string $filePath
14
+     * @return void
14 15
      */
15 16
     public function __construct($filePath);
16 17
 
Please login to merge, or discard this patch.
src/allejo/stakx/Document/DataItem.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         if (!$this->fs->exists($filePath))
35 35
         {
36
-            throw new FileNotFoundException("The following file could not be found: ${filePath}");
36
+            throw new FileNotFoundException("The following file could not be found: ${filepath}");
37 37
         }
38 38
 
39 39
         $this->fileExtension = strtolower($this->fs->getExtension($filePath));
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/CollectionManager.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,9 @@
 block discarded – undo
69 69
          */
70 70
         foreach ($this->trackedItemsFlattened as &$item)
71 71
         {
72
-            if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft']) { continue; }
72
+            if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft'])
73
+            {
74
+continue; }
73 75
 
74 76
             $jailItems[$item->getNamespace()][$item->getName()] = $item->createJail();
75 77
         }
Please login to merge, or discard this patch.