Completed
Push — master ( 65f23f...0cac74 )
by Quim González
09:32 queued 05:56
created
app/Console/Commands/DestroyTaskCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@
 block discarded – undo
43 43
             $id = $this->argument('id') ? $this->argument('id') : $this->ask('Event id?');
44 44
             $count = Task::destroy($id);
45 45
         } catch (Exception $e) {
46
-            $this->error('error'.$e);
46
+            $this->error('error' . $e);
47 47
         }
48 48
         if ($count == 0) {
49 49
             $this->alert('Task does not exist');
50
-        } else {
50
+        }else {
51 51
             $this->info('Task has been deleted to database succesfully');
52 52
         }
53 53
     }
Please login to merge, or discard this patch.