Browse Source

Fix some PHP doc blocks

Dave Hulbert 11 years ago
parent
commit
81aa3a850c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/Composer/Autoload/ClassMapGenerator.php
  2. 1 1
      src/Composer/Config.php

+ 2 - 2
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

+ 1 - 1
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)