From 2caaca6b4250a5c4c703abe641cc46c899e2ba56 Mon Sep 17 00:00:00 2001 From: Nikita Galochkin Date: Mon, 30 Mar 2020 22:04:48 +0300 Subject: [PATCH] Remove deleted DetectsApplicationNamespace --- src/Franzose/ClosureTable/Console/MakeCommand.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Franzose/ClosureTable/Console/MakeCommand.php b/src/Franzose/ClosureTable/Console/MakeCommand.php index 5d102ef..51e919f 100644 --- a/src/Franzose/ClosureTable/Console/MakeCommand.php +++ b/src/Franzose/ClosureTable/Console/MakeCommand.php @@ -1,13 +1,14 @@ options[$options[0][0]] = $input[0] ?: rtrim($this->getAppNamespace(), '\\'); + $this->options[$options[0][0]] = $input[0] ?: rtrim(Container::getInstance()->getNamespace(), '\\'); $this->options[$options[1][0]] = substr($input[1], $lastnsdelim); $this->options[$options[2][0]] = $input[2] ?: ExtStr::tableize($input[1]); $this->options[$options[3][0]] = $input[3] ?: $this->options[$options[1][0]] . 'Closure';