diff --git a/src/Commands/Concerns/OverridesHandle.php b/src/Commands/Concerns/HandleHooks.php similarity index 93% rename from src/Commands/Concerns/OverridesHandle.php rename to src/Commands/Concerns/HandleHooks.php index 0240142..9a1ed27 100644 --- a/src/Commands/Concerns/OverridesHandle.php +++ b/src/Commands/Concerns/HandleHooks.php @@ -2,7 +2,7 @@ namespace Lunarstorm\LaravelDDD\Commands\Concerns; -trait OverridesHandle +trait HandleHooks { protected function beforeHandle() { diff --git a/src/Commands/Concerns/ResolvesDomainFromInput.php b/src/Commands/Concerns/ResolvesDomainFromInput.php index 9a4ddd8..5258ab3 100644 --- a/src/Commands/Concerns/ResolvesDomainFromInput.php +++ b/src/Commands/Concerns/ResolvesDomainFromInput.php @@ -11,7 +11,7 @@ trait ResolvesDomainFromInput { use CanPromptForDomain, - OverridesHandle; + HandleHooks; protected $nameIsAbsolute = false; @@ -91,7 +91,7 @@ protected function beforeHandle() }; // If the domain is not set, prompt for it - if (! $this->domain) { + if (!$this->domain) { $this->domain = new Domain($this->promptForDomainName()); }