소스 검색

fix plural in exception message

Jan Brecka 11 년 전
부모
커밋
a41370b021
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Autoload/ClassMapGenerator.php

+ 1 - 1
src/Composer/Autoload/ClassMapGenerator.php

@@ -80,7 +80,7 @@ class ClassMapGenerator
 
             foreach ($classes as $class) {
                 if (array_key_exists($class, $map)) {
-                    throw new \RuntimeException('Ambiguous class "'.$class.'" resolution; defined in "'.$map[$class].'" and in "'.$filePath.'" file.');
+                    throw new \RuntimeException('Ambiguous class "'.$class.'" resolution; defined in "'.$map[$class].'" and in "'.$filePath.'" files.');
                 }
 
                 $map[$class] = $filePath;