|
@@ -581,7 +581,7 @@ class Application
|
|
|
|
|
|
$commands = array();
|
|
$commands = array();
|
|
foreach ($this->commands as $name => $command) {
|
|
foreach ($this->commands as $name => $command) {
|
|
- if ($namespace === $this->extractNamespace($name)) {
|
|
|
|
|
|
+ if ($namespace === $this->extractNamespace($name, substr_count($namespace, ':') + 1)) {
|
|
$commands[$name] = $command;
|
|
$commands[$name] = $command;
|
|
}
|
|
}
|
|
}
|
|
}
|