diff --git a/app/Command.php b/app/Command.php index 2fd366b..46d839d 100644 --- a/app/Command.php +++ b/app/Command.php @@ -19,7 +19,7 @@ private function __construct(private string $command, private array $arguments = { } - private function toString(): string + private function to_string(): string { return $this->command() . ' ' . $this->arguments(); @@ -74,6 +74,6 @@ private function wp_cli_phar_path(): string public static function from(string $command, array $arguments = []): string { - return (new self($command, $arguments))->toString(); + return (new self($command, $arguments))->to_string(); } }