From f598a5373e8eeeb03a4403da3dc9cc794705f7af Mon Sep 17 00:00:00 2001 From: Quynh Xuan Nguyen Date: Mon, 12 Aug 2019 15:26:38 +0700 Subject: [PATCH] Call getNamespace from the laravel property --- src/AuthCommand.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/AuthCommand.php b/src/AuthCommand.php index f228dc6..64f165a 100644 --- a/src/AuthCommand.php +++ b/src/AuthCommand.php @@ -4,12 +4,9 @@ use InvalidArgumentException; use Illuminate\Console\Command; -use Illuminate\Console\DetectsApplicationNamespace; class AuthCommand extends Command { - use DetectsApplicationNamespace; - /** * The name and signature of the console command. * @@ -129,7 +126,7 @@ protected function compileControllerStub() { return str_replace( '{{namespace}}', - $this->getAppNamespace(), + $this->laravel->getNamespace(), file_get_contents(__DIR__.'/Auth/stubs/controllers/HomeController.stub') ); }