Completed
Pull Request — master (#48)
by Vladimir
02:47
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/Document/ReadableDocument.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
     protected $extension;
17 17
     protected $fs;
18 18
 
19
+    /**
20
+     * @param string $filePath
21
+     */
19 22
     public function __construct($filePath)
20 23
     {
21 24
         $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
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     public function __construct($filePath)
20 20
     {
21 21
         $this->fs = new Filesystem();
22
-        $p = $this->filePath = $this->fs->absolutePath((string)$filePath);
22
+        $p = $this->filePath = $this->fs->absolutePath((string) $filePath);
23 23
 
24 24
         $this->extension = strtolower($this->fs->getExtension($p));
25 25
         $this->refreshFileContent();
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/CollectionManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     /**
58 58
      * A jailed representation of CollectionManager::getCollections().
59 59
      *
60
-     * @return JailedDocument[][]
60
+     * @return JailedDocument[]
61 61
      */
62 62
     public function getJailedCollections()
63 63
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/TrackingManager.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,9 @@
 block discarded – undo
293 293
          */
294 294
         foreach ($this->trackedItemsFlattened as &$item)
295 295
         {
296
-            if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item->isDraft()) { continue; }
296
+            if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item->isDraft())
297
+            {
298
+continue; }
297 299
 
298 300
             $jailItems[$item->getNamespace()][$item->getName()] = $item->createJail();
299 301
         }
Please login to merge, or discard this patch.