mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
CommandStringHelper::parse() returns a non-empty list of strings
This commit is contained in:
@ -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 = [];
|
||||
|
Reference in New Issue
Block a user