populate missing array value types in command namespace

This commit is contained in:
Dylan K. Taylor 2020-01-30 20:48:14 +00:00
parent 7ce6c8aa13
commit e61c3e8bf6
2 changed files with 6 additions and 0 deletions

View File

@ -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){

View File

@ -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([
[