Passed
Push — master ( 0bc75b...37409a )
by Thomas
12:24
created
app/Http/Controllers/EnrollmentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
                         'price_b' => $enrollment->course->price_b,
173 173
                         'price_c' => $enrollment->course->price_c,
174 174
                     ]),
175
-                    'studentPriceCategory' => $enrollment->student?->price_category,
175
+                    'studentPriceCategory' => $enrollment->student ? ->price_category,
176 176
                 ]
177 177
             );
178 178
         }
Please login to merge, or discard this patch.
app/Http/Controllers/ScheduledPaymentController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                         'price_b' => $enrollment->course->price_b,
93 93
                         'price_c' => $enrollment->course->price_c,
94 94
                     ]),
95
-                    'studentPriceCategory' => $enrollment->student?->price_category,
95
+                    'studentPriceCategory' => $enrollment->student ? ->price_category,
96 96
                 ]
97 97
             );
98 98
         }
Please login to merge, or discard this patch.