Skip to content

Commit

Permalink
Refactor OverridesHandle to HandleHooks
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperTey committed May 18, 2024
1 parent 186bab2 commit baf8ab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Lunarstorm\LaravelDDD\Commands\Concerns;

trait OverridesHandle
trait HandleHooks
{
protected function beforeHandle()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/Concerns/ResolvesDomainFromInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
trait ResolvesDomainFromInput
{
use CanPromptForDomain,
OverridesHandle;
HandleHooks;

protected $nameIsAbsolute = false;

Expand Down Expand Up @@ -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());
}

Expand Down

0 comments on commit baf8ab3

Please sign in to comment.