cleaning up code.
This commit is contained in:
parent
ca40180b54
commit
271e73462d
|
@ -28,8 +28,7 @@ public static function run($arguments = array())
|
||||||
|
|
||||||
// If the task exists within a bundle, we will start the bundle so that any
|
// If the task exists within a bundle, we will start the bundle so that any
|
||||||
// dependencies can be registered in the application IoC container. If the
|
// dependencies can be registered in the application IoC container. If the
|
||||||
// task is registered in the container, it will be resolved via the
|
// task is registered in the container, we'll resolve it.
|
||||||
// container instead of by this class.
|
|
||||||
if (Bundle::exists($bundle)) Bundle::start($bundle);
|
if (Bundle::exists($bundle)) Bundle::start($bundle);
|
||||||
|
|
||||||
$task = static::resolve($bundle, $task);
|
$task = static::resolve($bundle, $task);
|
||||||
|
|
Loading…
Reference in New Issue