From 7a4f12d8f2c2a2acb62a3723e4de0f3a49df7688 Mon Sep 17 00:00:00 2001 From: Nekrasov Ilya Date: Sun, 3 Sep 2017 20:36:24 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Console/WidgetMakeCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Console/WidgetMakeCommand.php b/src/Console/WidgetMakeCommand.php index c75ab11..544d820 100644 --- a/src/Console/WidgetMakeCommand.php +++ b/src/Console/WidgetMakeCommand.php @@ -2,9 +2,9 @@ namespace Arrilot\Widgets\Console; -use RuntimeException; -use Illuminate\Support\Str; use Illuminate\Console\GeneratorCommand; +use Illuminate\Support\Str; +use RuntimeException; use Symfony\Component\Console\Input\InputOption; class WidgetMakeCommand extends GeneratorCommand @@ -141,7 +141,7 @@ protected function replaceView($stub) */ protected function getDefaultNamespace($rootNamespace) { - $namespace = config('laravel-widgets.default_namespace', $rootNamespace.'\Widgets'); + $namespace = config('laravel-widgets.default_namespace', $rootNamespace.'\Widgets'); if (!Str::startsWith($namespace, $rootNamespace)) { throw new RuntimeException("You can not use the generator if the default namespace ($namespace) does not start with application namespace ($rootNamespace)");