@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | $students = []; |
123 | 123 | $group = 0; |
124 | - if (! is_null($membership)) { |
|
124 | + if ( ! is_null($membership)) { |
|
125 | 125 | $group = $membership->group()->first(); |
126 | 126 | $memberships = $group->memberships()->get(); |
127 | 127 | |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | |
193 | 193 | Auth::student()->leave($group); |
194 | 194 | |
195 | - if (! ($group->memberships()->count())) { |
|
195 | + if ( ! ($group->memberships()->count())) { |
|
196 | 196 | $invitations = Invitation::whereGroupId($group->id)->get(); |
197 | 197 | |
198 | 198 | foreach ($invitations as $invitation) { |
@@ -14,11 +14,11 @@ |
||
14 | 14 | */ |
15 | 15 | public function index() |
16 | 16 | { |
17 | - $courses = DB::transaction(function () { |
|
17 | + $courses = DB::transaction(function() { |
|
18 | 18 | return Course::orderedList()->get(); |
19 | 19 | }); |
20 | 20 | |
21 | - $courses = $courses->groupBy(function ($course) { |
|
21 | + $courses = $courses->groupBy(function($course) { |
|
22 | 22 | return $course->present()->getOrdinalYear(); |
23 | 23 | }); |
24 | 24 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function handle() |
41 | 41 | { |
42 | - DB::transaction(function () { |
|
42 | + DB::transaction(function() { |
|
43 | 43 | // Delete exchange registry. |
44 | 44 | resolve(ExchangeRegistry::class)->truncate(); |
45 | 45 |