Completed
Pull Request — master (#46)
by Vladimir
13:24 queued 03:28
created
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/Website.php 2 patches
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.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,8 +218,12 @@
 block discarded – undo
218 218
                 $exclusions, FileExplorer::$vcsPatterns, array(Configuration::CACHE_FOLDER)
219 219
             ))
220 220
             ->setIterator($fileExplorer->getExplorer())
221
-            ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); })
222
-            ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); })
221
+            ->addListener(Create::NAME, function ($e)
222
+            {
223
+$this->watchListenerFunction($e); })
224
+            ->addListener(Modify::NAME, function ($e)
225
+            {
226
+$this->watchListenerFunction($e); })
223 227
         ;
224 228
 
225 229
         $this->output->writeln('Watch started successfully');
Please login to merge, or discard this patch.
src/allejo/stakx/Command/BuildableCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * @param InputInterface $input
90 90
      * @param string         $param
91 91
      */
92
-    private function setServiceParameter(InputInterface &$input, $param)
92
+    private function setServiceParameter(InputInterface & $input, $param)
93 93
     {
94 94
         Service::setParameter($param, $input->getOption($param));
95 95
     }
Please login to merge, or discard this patch.