修正console

This commit is contained in:
yunwuxin
2016-03-23 18:08:29 +08:00
parent 233bab7e9d
commit ba09c21c05
2 changed files with 110 additions and 1 deletions

View File

@@ -740,7 +740,7 @@ class Console
public static function addDefaultCommands(array $classnames)
{
self::$defaultCommands[] = array_merge(self::$defaultCommands, $classnames);
self::$defaultCommands = array_merge(self::$defaultCommands, $classnames);
}
/**