Explorar o código

[Console] fixed call to undefined method.

fivestar %!s(int64=14) %!d(string=hai) anos
pai
achega
ac3e5545b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
         }