Passed
Push — master ( f51c1b...16736d )
by Arthur
05:36
created
src/Foundation/Traits/RefreshDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->artisan('migrate');
26 26
         $this->artisan('db:seed');
27 27
 
28
-        $this->beforeApplicationDestroyed(function () {
28
+        $this->beforeApplicationDestroyed(function() {
29 29
             $this->artisan('cache:model:clear');
30 30
             $this->artisan('migrate:refresh');
31 31
             $this->artisan('migrate:fresh');
Please login to merge, or discard this patch.
src/Foundation/Console/DatabaseResetCommand.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,9 @@
 block discarded – undo
37 37
         Artisan::call('migrate');
38 38
         Artisan::call('db:seed');
39 39
 
40
-        if ($this->option('demo'))
41
-            Artisan::call('demo:seed');
40
+        if ($this->option('demo')) {
41
+                    Artisan::call('demo:seed');
42
+        }
42 43
 
43 44
         $this->info('Database has been reset!');
44 45
     }
Please login to merge, or discard this patch.