소스 검색

Fix some PHP doc blocks

Dave Hulbert 11 년 전
부모
커밋
81aa3a850c
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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)