@@ -17,7 +17,7 @@ |
||
| 17 | 17 | private function setLocale(string $locale) |
| 18 | 18 | { |
| 19 | 19 | // Check if is allowed and set default locale if not |
| 20 | - if (! language()->allowed($locale)) { |
|
| 20 | + if (!language()->allowed($locale)) { |
|
| 21 | 21 | $locale = config('app.locale'); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | |
| 53 | 53 | $gradeType = GradeType::findOrFail($request->input('grade_type_id')); |
| 54 | 54 | |
| 55 | - if (! $course->grade_types->contains($gradeType->id)) { |
|
| 55 | + if (!$course->grade_types->contains($gradeType->id)) { |
|
| 56 | 56 | $course->grade_types()->attach($gradeType->id); |
| 57 | 57 | } |
| 58 | 58 | |