From 3357a2d0588ace1bc0ce01d0deb62922ef094afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Thu, 11 Jun 2020 23:40:24 +0300 Subject: [PATCH] formatting --- app/Console/Commands/UninstallModule.php | 3 ++- overrides/akaunting/module/Commands/DisableCommand.php | 3 ++- overrides/akaunting/module/Commands/EnableCommand.php | 3 ++- overrides/akaunting/module/Commands/InstallCommand.php | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/UninstallModule.php b/app/Console/Commands/UninstallModule.php index bef7098a9..fa4a29d4a 100644 --- a/app/Console/Commands/UninstallModule.php +++ b/app/Console/Commands/UninstallModule.php @@ -3,6 +3,7 @@ namespace App\Console\Commands; use App\Abstracts\Commands\Module; +use App\Events\Module\Uninstalled; class UninstallModule extends Module { @@ -41,7 +42,7 @@ class UninstallModule extends Module $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(); diff --git a/overrides/akaunting/module/Commands/DisableCommand.php b/overrides/akaunting/module/Commands/DisableCommand.php index fb0ce75bf..45c26717b 100644 --- a/overrides/akaunting/module/Commands/DisableCommand.php +++ b/overrides/akaunting/module/Commands/DisableCommand.php @@ -3,6 +3,7 @@ namespace Akaunting\Module\Commands; use App\Abstracts\Commands\Module; +use App\Events\Module\Disabled; class DisableCommand extends Module { @@ -47,7 +48,7 @@ class DisableCommand extends Module $this->createHistory('disabled'); - event(new \App\Events\Module\Disabled($this->alias, $this->company_id)); + event(new Disabled($this->alias, $this->company_id)); $this->revertRuntime(); diff --git a/overrides/akaunting/module/Commands/EnableCommand.php b/overrides/akaunting/module/Commands/EnableCommand.php index 6474d07cb..bd4ef6a2e 100644 --- a/overrides/akaunting/module/Commands/EnableCommand.php +++ b/overrides/akaunting/module/Commands/EnableCommand.php @@ -3,6 +3,7 @@ namespace Akaunting\Module\Commands; use App\Abstracts\Commands\Module; +use App\Events\Module\Enabled; class EnableCommand extends Module { @@ -47,7 +48,7 @@ class EnableCommand extends Module $this->createHistory('enabled'); - event(new \App\Events\Module\Enabled($this->alias, $this->company_id)); + event(new Enabled($this->alias, $this->company_id)); $this->revertRuntime(); diff --git a/overrides/akaunting/module/Commands/InstallCommand.php b/overrides/akaunting/module/Commands/InstallCommand.php index 539eaec2a..ae068710e 100644 --- a/overrides/akaunting/module/Commands/InstallCommand.php +++ b/overrides/akaunting/module/Commands/InstallCommand.php @@ -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 @@ -41,7 +42,7 @@ class InstallCommand extends Module $this->createHistory('installed'); - event(new \App\Events\Module\Installed($this->alias, $this->company_id)); + event(new Installed($this->alias, $this->company_id)); $this->revertRuntime();