Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Commit f598a53

Browse files
committed
Call getNamespace from the laravel property
1 parent a8e987d commit f598a53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/AuthCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44

55
use InvalidArgumentException;
66
use Illuminate\Console\Command;
7-
use Illuminate\Console\DetectsApplicationNamespace;
87

98
class AuthCommand extends Command
109
{
11-
use DetectsApplicationNamespace;
12-
1310
/**
1411
* The name and signature of the console command.
1512
*
@@ -129,7 +126,7 @@ protected function compileControllerStub()
129126
{
130127
return str_replace(
131128
'{{namespace}}',
132-
$this->getAppNamespace(),
129+
$this->laravel->getNamespace(),
133130
file_get_contents(__DIR__.'/Auth/stubs/controllers/HomeController.stub')
134131
);
135132
}

0 commit comments

Comments
 (0)