formatting
This commit is contained in:
parent
3357a2d058
commit
23de00f508
@ -3,7 +3,7 @@
|
|||||||
namespace App\Abstracts\Commands;
|
namespace App\Abstracts\Commands;
|
||||||
|
|
||||||
use App\Models\Module\Module as Model;
|
use App\Models\Module\Module as Model;
|
||||||
use App\Models\Module\ModuleHistory;
|
use App\Models\Module\ModuleHistory as ModelHistory;
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Support\Str;
|
use Illuminate\Support\Str;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
@ -53,7 +53,7 @@ abstract class Module extends Command
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ModuleHistory::create([
|
ModelHistory::create([
|
||||||
'company_id' => $this->company_id,
|
'company_id' => $this->company_id,
|
||||||
'module_id' => $this->model->id,
|
'module_id' => $this->model->id,
|
||||||
'category' => $this->module->get('category'),
|
'category' => $this->module->get('category'),
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module as Command;
|
||||||
use App\Events\Module\Uninstalled;
|
use App\Events\Module\Uninstalled;
|
||||||
|
|
||||||
class UninstallModule extends Module
|
class UninstallModule extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The name and signature of the console command.
|
* The name and signature of the console command.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module as Command;
|
||||||
use App\Events\Module\Disabled;
|
use App\Events\Module\Disabled;
|
||||||
|
|
||||||
class DisableCommand extends Module
|
class DisableCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The name and signature of the console command.
|
* The name and signature of the console command.
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module as Command;
|
||||||
use App\Events\Module\Enabled;
|
use App\Events\Module\Enabled;
|
||||||
|
|
||||||
class EnableCommand extends Module
|
class EnableCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The name and signature of the console command.
|
* The name and signature of the console command.
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module as Command;
|
||||||
use App\Events\Module\Installed;
|
use App\Events\Module\Installed;
|
||||||
use App\Models\Module\Module as Model;
|
use App\Models\Module\Module as Model;
|
||||||
|
|
||||||
class InstallCommand extends Module
|
class InstallCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The name and signature of the console command.
|
* The name and signature of the console command.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user