diff --git a/src/Composer/Autoload/ClassMapGenerator.php b/src/Composer/Autoload/ClassMapGenerator.php index e9142c15f..73c036a37 100644 --- a/src/Composer/Autoload/ClassMapGenerator.php +++ b/src/Composer/Autoload/ClassMapGenerator.php @@ -24,7 +24,7 @@ class ClassMapGenerator /** * Generate a class map file * - * @param Traversable $dirs Directories or a single path to search in + * @param \Traversable $dirs Directories or a single path to search in * @param string $file The name of the class map file */ public static function dump($dirs, $file) @@ -41,7 +41,7 @@ class ClassMapGenerator /** * Iterate over all files in the given directory searching for classes * - * @param Iterator|string $path The path to search in or an iterator + * @param \Iterator|string $path The path to search in or an iterator * @param string $whitelist Regex that matches against the file path * * @return array A class map array diff --git a/src/Composer/Config.php b/src/Composer/Config.php index 087949ef8..7cc1b6049 100644 --- a/src/Composer/Config.php +++ b/src/Composer/Config.php @@ -254,7 +254,7 @@ class Config /** * Replaces {$refs} inside a config string * - * @param string a config string that can contain {$refs-to-other-config} + * @param string $value a config string that can contain {$refs-to-other-config} * @return string */ private function process($value)