mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
populate missing array value types in command namespace
This commit is contained in:
parent
7ce6c8aa13
commit
e61c3e8bf6
@ -64,6 +64,9 @@ class FormattedCommandAlias extends Command{
|
||||
return (bool) $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string[] $args
|
||||
*/
|
||||
private function buildCommand(string $formatString, array $args) : string{
|
||||
$index = strpos($formatString, '$');
|
||||
while($index !== false){
|
||||
|
@ -126,6 +126,9 @@ class TimingsCommand extends VanillaCommand{
|
||||
/** @var string */
|
||||
private $host;
|
||||
|
||||
/**
|
||||
* @param string[] $data
|
||||
*/
|
||||
public function __construct(CommandSender $sender, string $host, string $agent, array $data){
|
||||
parent::__construct([
|
||||
[
|
||||
|
Loading…
x
Reference in New Issue
Block a user