Passed
Pull Request — develop (#11)
by
unknown
03:18
created
app/Judite/Models/Student.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Middleware/AuthorizeGroupCreationActions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
app/Http/Controllers/GroupController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.