Completed
Pull Request — master (#48)
by Vladimir
03:04
created
src/allejo/stakx/Exception/RecursiveConfigurationException.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 {
14 14
     private $import;
15 15
 
16
+    /**
17
+     * @param string $import
18
+     */
16 19
     public function __construct($import, $message = "", $code = 0, Exception $previous = null)
17 20
     {
18 21
         $this->import = $import;
Please login to merge, or discard this patch.
src/allejo/stakx/System/Folder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
     protected $absolutePath;
22 22
     protected $targetDirectories;
23 23
 
24
+    /**
25
+     * @param string $folderPath
26
+     */
24 27
     public function __construct($folderPath)
25 28
     {
26 29
         $this->fs = new Filesystem();
Please login to merge, or discard this patch.
src/allejo/stakx/Compiler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         $this->pageViewsFlattened = &$pageViewsFlattened;
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $themeName
91
+     */
89 92
     public function setThemeName($themeName)
90 93
     {
91 94
         $this->theme = $themeName;
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/TrackingManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
      *
150 150
      * @param SplFileInfo|string $filePath The relative path of the file
151 151
      *
152
-     * @return mixed|null
152
+     * @return \allejo\stakx\Document\PageView
153 153
      */
154 154
     public function refreshItem($filePath)
155 155
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Website.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,6 +309,9 @@  discard block
 block discarded – undo
309 309
         $this->confLess = $status;
310 310
     }
311 311
 
312
+    /**
313
+     * @param string $filePath
314
+     */
312 315
     private function creationWatcher($filePath)
313 316
     {
314 317
         $this->output->writeln(sprintf('File creation detected: %s', $filePath));
@@ -350,6 +353,9 @@  discard block
 block discarded – undo
350 353
         }
351 354
     }
352 355
 
356
+    /**
357
+     * @param string $filePath
358
+     */
353 359
     private function modificationWatcher($filePath)
354 360
     {
355 361
         $this->output->writeln(sprintf('File change detected: %s', $filePath));
@@ -400,7 +406,6 @@  discard block
 block discarded – undo
400 406
     /**
401 407
      * Prepare the Stakx environment by creating necessary cache folders.
402 408
      *
403
-     * @param bool $cleanDirectory Clean the target directory
404 409
      */
405 410
     private function createFolderStructure()
406 411
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Twig/StakxTwigTextProfiler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 {
15 15
     private $templateMappings;
16 16
 
17
+    /**
18
+     * @param string[] $templateMappings
19
+     */
17 20
     public function setTemplateMappings($templateMappings)
18 21
     {
19 22
         $this->templateMappings = $templateMappings;
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/ReadableDocument.php 1 patch
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.