Completed
Pull Request — master (#4)
by
unknown
02:16
created
src/Console/Traits/ModuleCreator.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         if( file_exists(base_path().DIRECTORY_SEPARATOR.$directory)){
125 125
             return true;
126
-        }else{
126
+        } else{
127 127
             $result =
128 128
                 $this->laravel['files']->makeDirectory($module->directory() .
129 129
                     DIRECTORY_SEPARATOR . $directory, 0755, true);
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                 $this->replace($this->laravel['files']->get($sourceFile), $module,
241 241
                     $replacements)
242 242
             );
243
-        }else{
243
+        } else{
244 244
             $result = $this->laravel['files']->put($module->directory() .
245 245
                 DIRECTORY_SEPARATOR . $destinationFile,
246 246
                 $this->replace($this->laravel['files']->get($sourceFile), $module,
Please login to merge, or discard this patch.