@@ -13,6 +13,9 @@ |
||
| 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; |
@@ -21,6 +21,9 @@ |
||
| 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(); |
@@ -86,6 +86,9 @@ |
||
| 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; |
@@ -149,7 +149,7 @@ |
||
| 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 | { |
@@ -14,6 +14,9 @@ |
||
| 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; |
@@ -34,6 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * {@inheritdoc} |
| 37 | + * @param string $filePath |
|
| 37 | 38 | */ |
| 38 | 39 | public function __construct($filePath) |
| 39 | 40 | { |
@@ -11,6 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | 13 | * @param string $filePath |
| 14 | + * @return void |
|
| 14 | 15 | */ |
| 15 | 16 | public function __construct($filePath); |
| 16 | 17 | |
@@ -329,6 +329,9 @@ discard block |
||
| 329 | 329 | $this->confLess = $status; |
| 330 | 330 | } |
| 331 | 331 | |
| 332 | + /** |
|
| 333 | + * @param string $filePath |
|
| 334 | + */ |
|
| 332 | 335 | private function creationWatcher($filePath) |
| 333 | 336 | { |
| 334 | 337 | $this->output->writeln(sprintf('File creation detected: %s', $filePath)); |
@@ -370,6 +373,9 @@ discard block |
||
| 370 | 373 | } |
| 371 | 374 | } |
| 372 | 375 | |
| 376 | + /** |
|
| 377 | + * @param string $filePath |
|
| 378 | + */ |
|
| 373 | 379 | private function modificationWatcher($filePath) |
| 374 | 380 | { |
| 375 | 381 | $this->output->writeln(sprintf('File change detected: %s', $filePath)); |
@@ -16,6 +16,9 @@ |
||
| 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(); |