Procházet zdrojové kódy

[Console] fixed call to undefined method.

fivestar před 14 roky
rodič
revize
ac3e5545b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
         }