From 8529fbe8a697a3680a1243984dac068d5f6f57a0 Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 14 Aug 2022 21:13:34 +0000 Subject: [PATCH] Fix styling --- src/Console/PresenterMakeCommand.php | 5 +---- src/LaravelPresenterServiceProvider.php | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Console/PresenterMakeCommand.php b/src/Console/PresenterMakeCommand.php index 0ce722a..fa9f2c8 100644 --- a/src/Console/PresenterMakeCommand.php +++ b/src/Console/PresenterMakeCommand.php @@ -2,15 +2,12 @@ namespace Coderflex\LaravelPresenter\Console; -use Illuminate\Console\GeneratorCommand; - class PresenterMakeCommand extends MakePresenterCommand { public $name = 'presenter:make'; - + protected function configure() { $this->setHidden(true); } - } diff --git a/src/LaravelPresenterServiceProvider.php b/src/LaravelPresenterServiceProvider.php index 91efd84..d690f14 100644 --- a/src/LaravelPresenterServiceProvider.php +++ b/src/LaravelPresenterServiceProvider.php @@ -3,8 +3,8 @@ namespace Coderflex\LaravelPresenter; use Coderflex\LaravelPresenter\Console\{ - PresenterMakeCommand, - MakePresenterCommand + MakePresenterCommand, + PresenterMakeCommand }; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider;