Closed VincentLanglet closed 3 months ago
Solve https://github.com/phpstan/phpstan-symfony/issues/256 (cc @alexander-schranz)
By design, all the arguments can be null in Command::interact method. Doing
/** @var string|null $market */ $market = $input->getArgument('market');
in the interact method is reported as an error by PHPStan so there is currently no satisfying solution except ignoring the error. And updating the dynamic return type extension seems doable.
Thank you.
Solve https://github.com/phpstan/phpstan-symfony/issues/256 (cc @alexander-schranz)
By design, all the arguments can be null in Command::interact method. Doing
in the interact method is reported as an error by PHPStan so there is currently no satisfying solution except ignoring the error. And updating the dynamic return type extension seems doable.