CommandStringHelper::parse() returns a non-empty list of strings

This commit is contained in:
Dylan K. Taylor
2022-05-10 15:22:46 +01:00
parent f70c36baf9
commit 217385efb9

View File

@ -41,7 +41,7 @@ final class CommandStringHelper{
* - `say "This is a \"string containing quotes\""` -> ['say', 'This is a "string containing quotes"']
*
* @return string[]
* @phpstan-return list<string>
* @phpstan-return non-empty-list<string>
*/
public static function parseQuoteAware(string $commandLine) : array{
$args = [];