@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | $projects = Project::where('is_archived', false)->get(); |
| 19 | 19 | $archive = Project::where('is_archived', true)->get(); |
| 20 | - foreach( $archive as $project ) |
|
| 20 | + foreach ($archive as $project) |
|
| 21 | 21 | { |
| 22 | 22 | // Set the time range of the project by selecting the last and first dates of its events |
| 23 | 23 | // if no events are associated with the project, set the dates to '-' |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | |
| 109 | 109 | public function delete(Event $event) |
| 110 | 110 | { |
| 111 | - if($event->tickets()->exists()) |
|
| 111 | + if ($event->tickets()->exists()) |
|
| 112 | 112 | { |
| 113 | 113 | return redirect()->route('admin.events.get', $event) |
| 114 | 114 | ->with('status', 'Error on deletion: Event has tickets!'); |