This commit is contained in:
2020-12-15 14:04:02 +08:00
parent c2d9250be9
commit a37df0ce7a
16 changed files with 225 additions and 162 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ abstract class Command extends BaseObject implements CommandInterface
* @return string
* 返回执行的命令名称
*/
public function getName()
public function getName(): string
{
return $this->command;
}
@@ -30,7 +30,7 @@ abstract class Command extends BaseObject implements CommandInterface
*
* 返回命令描述
*/
public function getDescription()
public function getDescription(): string
{
return $this->description;
}