Completed
Pull Request — master (#48)
by Vladimir
02:44
created
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/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.
src/allejo/stakx/Document/ReadableDocument.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
     protected $filePath;
16 16
     protected $fs;
17 17
 
18
+    /**
19
+     * @param string $filePath
20
+     */
18 21
     public function __construct($filePath)
19 22
     {
20 23
         $this->fs = new Filesystem();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function __construct($filePath)
19 19
     {
20 20
         $this->fs = new Filesystem();
21
-        $p = $this->filePath = $this->fs->absolutePath((string)$filePath);
21
+        $p = $this->filePath = $this->fs->absolutePath((string) $filePath);
22 22
 
23 23
         if (!$this->fs->exists($p))
24 24
         {
Please login to merge, or discard this patch.