Completed
Push — master ( 4291f9...cb1f21 )
by Nekrasov
03:34
created
src/Console/WidgetMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     protected function getDefaultNamespace($rootNamespace)
143 143
     {
144
-        $namespace =  config('laravel-widgets.default_namespace', $rootNamespace.'\Widgets');
144
+        $namespace = config('laravel-widgets.default_namespace', $rootNamespace.'\Widgets');
145 145
 
146 146
         if (!Str::startsWith($namespace, $rootNamespace)) {
147 147
             throw new RuntimeException("You can not use the generator if the default namespace ($namespace) does not start with application namespace ($rootNamespace)");
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
         // convert to snake_case part by part to avoid unexpected underscores.
206 206
         $nameArray = explode('/', $name);
207
-        array_walk($nameArray, function (&$part) {
207
+        array_walk($nameArray, function(&$part) {
208 208
             $part = snake_case($part);
209 209
         });
210 210
 
Please login to merge, or discard this patch.