@@ -141,7 +141,7 @@ |
||
141 | 141 | throw new StudentIsNotEnrolledInCourseException($course); |
142 | 142 | } |
143 | 143 | |
144 | - if (! ($enrollment->isDeletable())) { |
|
144 | + if ( ! ($enrollment->isDeletable())) { |
|
145 | 145 | throw new EnrollmentCannotBeDeleted($enrollment); |
146 | 146 | } |
147 | 147 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function handle($request, Closure $next) |
18 | 18 | { |
19 | - if (! app('settings')->withinGroupCreationPeriod()) { |
|
19 | + if ( ! app('settings')->withinGroupCreationPeriod()) { |
|
20 | 20 | flash('The group creation period is closed. You are not allowed to perform this action.')->error(); |
21 | 21 | |
22 | 22 | return redirect()->route('dashboard'); |
@@ -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) { |