mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +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"']
|
* - `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 = [];
|
||||||
|
Reference in New Issue
Block a user