@@ -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 | { |
@@ -56,6 +56,9 @@ |
||
| 56 | 56 | $this->staticPageViews = array(); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param \allejo\stakx\Object\Configuration $configuration |
|
| 61 | + */ |
|
| 59 | 62 | public function configureTwig ($configuration, $options) |
| 60 | 63 | { |
| 61 | 64 | $twig = new TwigManager(); |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Get all of the DataItems and DataSets in this manager |
| 34 | 34 | * |
| 35 | - * @return array |
|
| 35 | + * @return string |
|
| 36 | 36 | */ |
| 37 | 37 | public function getDataItems () |
| 38 | 38 | { |
@@ -305,11 +305,17 @@ |
||
| 305 | 305 | $this->noClean = $noClean; |
| 306 | 306 | } |
| 307 | 307 | |
| 308 | + /** |
|
| 309 | + * @param string $filePath |
|
| 310 | + */ |
|
| 308 | 311 | private function creationWatcher ($filePath) |
| 309 | 312 | { |
| 310 | 313 | $this->output->writeln(sprintf("File creation detected: %s", $filePath)); |
| 311 | 314 | } |
| 312 | 315 | |
| 316 | + /** |
|
| 317 | + * @param string $filePath |
|
| 318 | + */ |
|
| 313 | 319 | private function modificationWatcher ($filePath) |
| 314 | 320 | { |
| 315 | 321 | $this->output->writeln(sprintf("File change detected: %s", $filePath)); |
@@ -36,8 +36,8 @@ |
||
| 36 | 36 | * FileExplorer constructor. |
| 37 | 37 | * |
| 38 | 38 | * @param \RecursiveIterator $iterator |
| 39 | - * @param array $excludes |
|
| 40 | - * @param array $includes |
|
| 39 | + * @param string[] $excludes |
|
| 40 | + * @param string[] $includes |
|
| 41 | 41 | */ |
| 42 | 42 | public function __construct(\RecursiveIterator $iterator, array $excludes = array(), array $includes = array()) |
| 43 | 43 | { |
@@ -171,9 +171,9 @@ |
||
| 171 | 171 | public function removeExtension ($filename) |
| 172 | 172 | { |
| 173 | 173 | return $this->appendPath( |
| 174 | - $this->getFolderPath($filename), |
|
| 175 | - $this->getBaseName($filename) |
|
| 176 | - ); |
|
| 174 | + $this->getFolderPath($filename), |
|
| 175 | + $this->getBaseName($filename) |
|
| 176 | + ); |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
@@ -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 | { |