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