Fabien Potencier 13 лет назад
Родитель
Сommit
c00ba4dab8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Symfony/Component/Console/Application.php

+ 1 - 1
src/Symfony/Component/Console/Application.php

@@ -488,7 +488,7 @@ class Application
             }
 
             if (count($abbrevs[$part]) > 1) {
-                throw new \InvalidArgumentException(sprintf('The namespace "%s" is ambiguous (%s).', $namespace, $this->getAbbreviationSuggestions($abbrevs[$namespace])));
+                throw new \InvalidArgumentException(sprintf('The namespace "%s" is ambiguous (%s).', $namespace, $this->getAbbreviationSuggestions($abbrevs[$part])));
             }
 
             $found[] = $abbrevs[$part][0];