@@ -194,7 +194,7 @@ |
||
194 | 194 | * |
195 | 195 | * @param string $frontMatterKey The current hierarchy of the Front Matter keys being used |
196 | 196 | * @param string $expandableValue The Front Matter value that will be expanded |
197 | - * @param array $arrayVariableNames The Front Matter variable names that reference arrays |
|
197 | + * @param string[] $arrayVariableNames The Front Matter variable names that reference arrays |
|
198 | 198 | * |
199 | 199 | * @return array |
200 | 200 | * |
@@ -318,7 +318,7 @@ |
||
318 | 318 | /** |
319 | 319 | * Get the original file path |
320 | 320 | * |
321 | - * @return string |
|
321 | + * @return SplFileInfo |
|
322 | 322 | */ |
323 | 323 | final public function getFilePath () |
324 | 324 | { |
@@ -322,6 +322,9 @@ discard block |
||
322 | 322 | $this->noClean = $noClean; |
323 | 323 | } |
324 | 324 | |
325 | + /** |
|
326 | + * @param string $filePath |
|
327 | + */ |
|
325 | 328 | private function creationWatcher ($filePath) |
326 | 329 | { |
327 | 330 | $this->output->writeln(sprintf("File creation detected: %s", $filePath)); |
@@ -363,6 +366,9 @@ discard block |
||
363 | 366 | } |
364 | 367 | } |
365 | 368 | |
369 | + /** |
|
370 | + * @param string $filePath |
|
371 | + */ |
|
366 | 372 | private function modificationWatcher ($filePath) |
367 | 373 | { |
368 | 374 | $this->output->writeln(sprintf("File change detected: %s", $filePath)); |
@@ -63,8 +63,8 @@ |
||
63 | 63 | * FileExplorer constructor. |
64 | 64 | * |
65 | 65 | * @param \RecursiveIterator $iterator |
66 | - * @param array $excludes |
|
67 | - * @param array $includes |
|
66 | + * @param string[] $excludes |
|
67 | + * @param string[] $includes |
|
68 | 68 | * @param int|null $flags |
69 | 69 | */ |
70 | 70 | public function __construct(\RecursiveIterator $iterator, array $excludes = array(), array $includes = array(), $flags = null) |
@@ -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 | { |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * Get all of the PageViews tracked by this manager |
65 | 65 | * |
66 | 66 | * @since 0.1.0 |
67 | - * @return PageView[][] |
|
67 | + * @return PageView[] |
|
68 | 68 | */ |
69 | 69 | public function getAllPageViews () |
70 | 70 | { |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * @TODO 1.0.0 Remove support for 'base' in next major release; it has been replaced by 'baseurl' |
94 | 94 | * |
95 | - * @return mixed|null |
|
95 | + * @return string |
|
96 | 96 | */ |
97 | 97 | public function getBaseUrl () |
98 | 98 | { |
@@ -163,6 +163,9 @@ discard block |
||
163 | 163 | return $this->configuration['twig']['autoescape']; |
164 | 164 | } |
165 | 165 | |
166 | + /** |
|
167 | + * @return string|false |
|
168 | + */ |
|
166 | 169 | public function getRedirectTemplate () |
167 | 170 | { |
168 | 171 | return $this->configuration['templates']['redirect']; |