Explorar el Código

fix plural in exception message

Jan Brecka hace 11 años
padre
commit
a41370b021
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;