Преглед изворни кода

[Console] fixed typo (closes #2358)

Fabien Potencier пре 13 година
родитељ
комит
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];