Ver código fonte

[Console] fixed call to undefined method.

fivestar 14 anos atrás
pai
commit
ac3e5545b9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Symfony/Component/Console/Shell.php

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

@@ -102,7 +102,7 @@ class Shell
 
         // options and arguments?
         try {
-            $command = $this->application->findCommand(substr($text, 0, strpos($text, ' ')));
+            $command = $this->application->find(substr($text, 0, strpos($text, ' ')));
         } catch (\Exception $e) {
             return true;
         }