Skip to content

Commit

Permalink
phpcbf auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bomoko authored and tobybellwood committed Aug 28, 2024
1 parent f946f88 commit 0e1927b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LagoonCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Consolidation\SiteAlias\SiteAliasManagerAwareTrait;
use Drush\Commands\DrushCommands;
use Drush\Exceptions\CommandFailedException;
use Drush\Drush;
use Drush\Exceptions\CommandFailedException;
use Drush\SiteAlias\SiteAliasManagerAwareInterface;
use GuzzleHttp\Client;
use Symfony\Component\HttpKernel\Kernel;
Expand Down Expand Up @@ -65,8 +65,8 @@ class LagoonCommands extends DrushCommands implements SiteAliasManagerAwareInter
* {@inheritdoc}
*/
public function __construct() {
// Get default config
if($this->isLagoonEnvironment()) {
// Get default config.
if ($this->isLagoonEnvironment()) {
$this->isLagoonEnvironment = TRUE;
$lagoonyml = $this->getLagoonYml();
$this->api = $lagoonyml['api'] ?? 'https://api.lagoon.amazeeio.cloud/graphql';
Expand Down Expand Up @@ -286,7 +286,7 @@ private function isLagoonEnvironment() {
* @return void
*/
private function preCommandChecks() {
if($this->isLagoonEnvironment() == FALSE) {
if ($this->isLagoonEnvironment() == FALSE) {
throw new CommandFailedException(dt("Attempting to run a Lagoon command in a non-Lagoon environment."));
}
}
Expand Down

0 comments on commit 0e1927b

Please sign in to comment.