Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
lotfio committed Jul 26, 2020
1 parent bf80eb0 commit a35445c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion commands.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
*
* @copyright 2019 Lotfio Lakehal
*/

$conso->command('command', Conso\Commands\Command::class);
2 changes: 1 addition & 1 deletion src/Conso/Conso.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public function run(int $env = 0)
try {
// pass table defined commands & match
$this->invokedCommand = $this->linker->link($this->getCommands());
return $this->invoker->invoke($this->invokedCommand);

return $this->invoker->invoke($this->invokedCommand);
} catch (\Exception $e) {
if ($this->output->isTestMode()) { // is test mode

Expand Down
2 changes: 1 addition & 1 deletion src/Conso/ConsoTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function call(string $command): void
public function loadBuildInCommands()
{
$conso = $this;
require_once dirname(__DIR__, 2) . '/commands.php';
require_once dirname(__DIR__, 2).'/commands.php';
}

/**
Expand Down

0 comments on commit a35445c

Please sign in to comment.