Passed
Push — master ( d6f4d5...fb228e )
by Thomas
06:21
created
app/Http/Middleware/SetLocale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/GradeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.