| @@ -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 |      { | 
| @@ -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 |      { | 
| @@ -90,6 +90,9 @@ | ||
| 90 | 90 | $this->targetDir = &$folder; | 
| 91 | 91 | } | 
| 92 | 92 | |
| 93 | + /** | |
| 94 | + * @param \allejo\stakx\Object\Configuration $configuration | |
| 95 | + */ | |
| 93 | 96 | public function configureTwig ($configuration, $options) | 
| 94 | 97 |      { | 
| 95 | 98 | $this->twigOpts['configuration'] = $configuration; | 
| @@ -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 |      { |