Passed
Push — master ( 73ff1c...c96fe8 )
by Thomas
07:34
created
app/Http/Controllers/EnrollmentController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,8 +228,7 @@
 block discarded – undo
228 228
         $periodId = $request->get('periodId');
229 229
         if ($periodId) {
230 230
             $pendingBalance = Enrollment::period($periodId)->pending()->sum('balance');
231
-        }
232
-        else {
231
+        } else {
233 232
             $pendingBalance = Enrollment::pending()->sum('balance');
234 233
         }
235 234
 
Please login to merge, or discard this patch.