From 04f1b90fa084ab8f4979c9639925f78ee868faae Mon Sep 17 00:00:00 2001 From: Andrew Mead Date: Mon, 4 Nov 2024 12:22:09 -0500 Subject: [PATCH] Update Command.php --- app/Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }