Skip to content

Commit

Permalink
Update Command.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjmead committed Nov 4, 2024
1 parent 42fbdb6 commit 04f1b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();
}
}

0 comments on commit 04f1b90

Please sign in to comment.