Skip to content

Commit

Permalink
CLI-866: Fix PHP error on ide:create (#1201)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Oct 11, 2022
1 parent 384e98f commit dc5b26b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Command/Ide/IdeCreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ class IdeCreateCommand extends IdeCommandBase {

protected static $defaultName = 'ide:create';

/**
* @var \AcquiaCloudApi\Response\IdeResponse
*/
private IdeResponse $ide;

/**
* @var \GuzzleHttp\Client
*/
private Client $client;
private $client;

/**
* {inheritdoc}.
Expand All @@ -56,7 +53,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$acquia_cloud_client = $this->cloudApiClientService->getClient();
$account_resource = new Account($acquia_cloud_client);
$account = $account_resource->get();
$default = "{$account->first_name} {$account->last_name}'s IDE";
$default = "$account->first_name $account->last_name's IDE";
if ($input->getOption('label')) {
$ide_label = $input->getOption('label');
$this->validateIdeLabel($ide_label);
Expand Down

0 comments on commit dc5b26b

Please sign in to comment.