We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f528e commit 57bad14Copy full SHA for 57bad14
src/Console/InstallCommand.php
@@ -3,13 +3,10 @@
3
namespace Laravel\Horizon\Console;
4
5
use Illuminate\Console\Command;
6
-use Illuminate\Console\DetectsApplicationNamespace;
7
use Illuminate\Support\Str;
8
9
class InstallCommand extends Command
10
{
11
- use DetectsApplicationNamespace;
12
-
13
/**
14
* The name and signature of the console command.
15
*
@@ -52,7 +49,7 @@ public function handle()
52
49
*/
53
50
protected function registerHorizonServiceProvider()
54
51
55
- $namespace = Str::replaceLast('\\', '', $this->getAppNamespace());
+ $namespace = Str::replaceLast('\\', '', $this->laravel->getNamespace());
56
57
$appConfig = file_get_contents(config_path('app.php'));
58
0 commit comments