Command: mark execute $args as being list<string>

This commit is contained in:
Dylan K. Taylor 2025-01-06 22:42:57 +00:00
parent 90f0b85d2e
commit 59f6c85105
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ abstract class Command{
/** /**
* @param string[] $args * @param string[] $args
* @phpstan-param list<string> $args
* *
* @return mixed * @return mixed
* @throws CommandException * @throws CommandException

View File

@ -121,6 +121,7 @@ class FormattedCommandAlias extends Command{
/** /**
* @param string[] $args * @param string[] $args
* @phpstan-param list<string> $args
*/ */
private function buildCommand(string $formatString, array $args) : ?string{ private function buildCommand(string $formatString, array $args) : ?string{
$index = 0; $index = 0;