default description for commands

This commit is contained in:
kremsy 2017-06-28 12:45:20 +02:00
parent 88a5d472fa
commit 1da8b61805

View File

@ -65,7 +65,7 @@ class CommandManager implements CallbackListener, UsageInformationAble {
* @param string $description
* @return bool
*/
public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = null) {
public function registerCommandListener($commandName, CommandListener $listener, $method, $adminCommand = false, $description = "No Description.") {
if (is_array($commandName)) {
$success = false;
foreach ($commandName as $command) {