mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 12:27:51 +00:00
CommandStringHelper::parse() returns a non-empty list of strings
This commit is contained in:
parent
f70c36baf9
commit
217385efb9
@ -41,7 +41,7 @@ final class CommandStringHelper{
|
|||||||
* - `say "This is a \"string containing quotes\""` -> ['say', 'This is a "string containing quotes"']
|
* - `say "This is a \"string containing quotes\""` -> ['say', 'This is a "string containing quotes"']
|
||||||
*
|
*
|
||||||
* @return string[]
|
* @return string[]
|
||||||
* @phpstan-return list<string>
|
* @phpstan-return non-empty-list<string>
|
||||||
*/
|
*/
|
||||||
public static function parseQuoteAware(string $commandLine) : array{
|
public static function parseQuoteAware(string $commandLine) : array{
|
||||||
$args = [];
|
$args = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user