diff --git a/src/Generator/ApiMakeCommand.php b/src/Generator/ApiMakeCommand.php index 6e4c7c3..b7ded9e 100644 --- a/src/Generator/ApiMakeCommand.php +++ b/src/Generator/ApiMakeCommand.php @@ -2,14 +2,14 @@ namespace Arrilot\Api\Generator; -use Illuminate\Console\AppNamespaceDetectorTrait; +use Illuminate\Console\DetectsApplicationNamespace; use Illuminate\Console\Command; use Illuminate\Filesystem\Filesystem; use Symfony\Component\Console\Input\InputArgument; class ApiMakeCommand extends Command { - use AppNamespaceDetectorTrait; + use DetectsApplicationNamespace; /** * The filesystem instance. @@ -64,7 +64,7 @@ public function __construct(Filesystem $files) * * @return void */ - public function fire() + public function handle() { $this->prepareVariablesForStubs($this->argument('name'));