改名
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ use Snowflake\Abstracts\BaseObject;
|
||||
abstract class Command extends BaseObject implements CommandInterface
|
||||
{
|
||||
|
||||
public $command = '';
|
||||
public $description = '';
|
||||
public string $command = '';
|
||||
public string $description = '';
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
||||
@@ -16,10 +16,10 @@ use Snowflake\Snowflake;
|
||||
class Command extends \Console\Command
|
||||
{
|
||||
|
||||
public $command = 'sw:server';
|
||||
public string $command = 'sw:server';
|
||||
|
||||
|
||||
public $description = 'server start|stop|reload|restart';
|
||||
public string $description = 'server start|stop|reload|restart';
|
||||
|
||||
|
||||
const ACTIONS = ['start', 'stop', 'restart'];
|
||||
|
||||
Reference in New Issue
Block a user