Fix console: list 'namespace' command display all available commands
This commit is contained in:
parent
decfe9eb5c
commit
ed02aa9974
@ -581,7 +581,7 @@ class Application
|
||||
|
||||
$commands = array();
|
||||
foreach ($this->commands as $name => $command) {
|
||||
if ($namespace === $this->extractNamespace($name)) {
|
||||
if ($namespace === $this->extractNamespace($name, substr_count($namespace, ':') + 1)) {
|
||||
$commands[$name] = $command;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user