@@ -43,11 +43,11 @@ |
||
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 | } |