Skip to content

Commit

Permalink
Coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar authored and Milan Felix Šulc committed Jun 21, 2018
1 parent b2b797d commit 9ad9eb8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/DI/ConsoleExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public function loadConfiguration(): void
$config = $this->validateConfig($this->defaults);

// Skip if isn't CLI
if ($this->cliMode !== true)
return;
if ($this->cliMode !== true) return;

Validators::assertField($config, 'helpers', 'array|null');

Expand Down Expand Up @@ -118,8 +117,7 @@ public function beforeCompile(): void
$config = $this->validateConfig($this->defaults);

// Skip if isn't CLI
if ($this->cliMode !== true)
return;
if ($this->cliMode !== true) return;

$application = $builder->getDefinition($this->prefix('application'));

Expand Down

0 comments on commit 9ad9eb8

Please sign in to comment.