@@ -197,7 +197,7 @@ |
||
197 | 197 | * |
198 | 198 | * @param string $frontMatterKey The current hierarchy of the Front Matter keys being used |
199 | 199 | * @param string $expandableValue The Front Matter value that will be expanded |
200 | - * @param array $arrayVariableNames The Front Matter variable names that reference arrays |
|
200 | + * @param string[] $arrayVariableNames The Front Matter variable names that reference arrays |
|
201 | 201 | * |
202 | 202 | * @throws YamlUnsupportedVariableException If a multidimensional array is given for value expansion |
203 | 203 | * |
@@ -66,7 +66,7 @@ |
||
66 | 66 | * |
67 | 67 | * @since 0.1.0 |
68 | 68 | * |
69 | - * @return PageView[][] |
|
69 | + * @return PageView[] |
|
70 | 70 | */ |
71 | 71 | public function getAllPageViews() |
72 | 72 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * @TODO 1.0.0 Remove support for 'base' in next major release; it has been replaced by 'baseurl' |
99 | 99 | * |
100 | - * @return mixed|null |
|
100 | + * @return string |
|
101 | 101 | */ |
102 | 102 | public function getBaseUrl() |
103 | 103 | { |
@@ -168,6 +168,9 @@ discard block |
||
168 | 168 | return $this->configuration['twig']['autoescape']; |
169 | 169 | } |
170 | 170 | |
171 | + /** |
|
172 | + * @return string|false |
|
173 | + */ |
|
171 | 174 | public function getRedirectTemplate() |
172 | 175 | { |
173 | 176 | return $this->configuration['templates']['redirect']; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Get the original file path. |
176 | 176 | * |
177 | - * @return string |
|
177 | + * @return SplFileInfo |
|
178 | 178 | */ |
179 | 179 | final public function getFilePath() |
180 | 180 | { |
@@ -349,6 +349,9 @@ discard block |
||
349 | 349 | $this->noClean = $noClean; |
350 | 350 | } |
351 | 351 | |
352 | + /** |
|
353 | + * @param string $filePath |
|
354 | + */ |
|
352 | 355 | private function creationWatcher($filePath) |
353 | 356 | { |
354 | 357 | $this->output->writeln(sprintf('File creation detected: %s', $filePath)); |
@@ -390,6 +393,9 @@ discard block |
||
390 | 393 | } |
391 | 394 | } |
392 | 395 | |
396 | + /** |
|
397 | + * @param string $filePath |
|
398 | + */ |
|
393 | 399 | private function modificationWatcher($filePath) |
394 | 400 | { |
395 | 401 | $this->output->writeln(sprintf('File change detected: %s', $filePath)); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Returns a list of filters. |
17 | 17 | * |
18 | - * @return array |
|
18 | + * @return Twig_SimpleFilter[] |
|
19 | 19 | */ |
20 | 20 | public function getFilters() |
21 | 21 | { |