Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Jun 11, 2020
1 parent b54c9b1 commit 3357a2d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/Console/Commands/UninstallModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Console\Commands;

use App\Abstracts\Commands\Module;
use App\Events\Module\Uninstalled;

class UninstallModule extends Module
{
Expand Down Expand Up @@ -41,7 +42,7 @@ public function handle()

$this->createHistory('uninstalled');

event(new \App\Events\Module\Uninstalled($this->alias, $this->company_id));
event(new Uninstalled($this->alias, $this->company_id));

// Delete files
$this->module->delete();
Expand Down
3 changes: 2 additions & 1 deletion overrides/akaunting/module/Commands/DisableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Akaunting\Module\Commands;

use App\Abstracts\Commands\Module;
use App\Events\Module\Disabled;

class DisableCommand extends Module
{
Expand Down Expand Up @@ -47,7 +48,7 @@ public function handle()

$this->createHistory('disabled');

event(new \App\Events\Module\Disabled($this->alias, $this->company_id));
event(new Disabled($this->alias, $this->company_id));

$this->revertRuntime();

Expand Down
3 changes: 2 additions & 1 deletion overrides/akaunting/module/Commands/EnableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Akaunting\Module\Commands;

use App\Abstracts\Commands\Module;
use App\Events\Module\Enabled;

class EnableCommand extends Module
{
Expand Down Expand Up @@ -47,7 +48,7 @@ public function handle()

$this->createHistory('enabled');

event(new \App\Events\Module\Enabled($this->alias, $this->company_id));
event(new Enabled($this->alias, $this->company_id));

$this->revertRuntime();

Expand Down
3 changes: 2 additions & 1 deletion overrides/akaunting/module/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Akaunting\Module\Commands;

use App\Abstracts\Commands\Module;
use App\Events\Module\Installed;
use App\Models\Module\Module as Model;

class InstallCommand extends Module
Expand Down Expand Up @@ -41,7 +42,7 @@ public function handle()

$this->createHistory('installed');

event(new \App\Events\Module\Installed($this->alias, $this->company_id));
event(new Installed($this->alias, $this->company_id));

$this->revertRuntime();

Expand Down

0 comments on commit 3357a2d

Please sign in to comment.