Skip to content

Commit

Permalink
Remove prefixed command (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb authored Nov 11, 2024
1 parent bd8acb1 commit ecca49e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Console/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ protected function _getCommandByString($name, $setName = false)
{
if(strpos($name, '.') !== false)
{
$parts = explode(' ', ucwords(str_replace('.', ' ', $name)));
$class = '\\' . implode('\\', $parts);
$class = implode('\\', explode(' ', ucwords(str_replace('.', ' ', $name))));
}
else
{
Expand Down

0 comments on commit ecca49e

Please sign in to comment.