Browse Source

Minor - format code

Julio Montoya 5 years ago
parent
commit
7614221597
2 changed files with 2 additions and 4 deletions
  1. 0 2
      main/gradebook/gradebook_edit_cat.php
  2. 2 2
      main/gradebook/lib/be/category.class.php

+ 0 - 2
main/gradebook/gradebook_edit_cat.php

@@ -2,8 +2,6 @@
 /* For licensing terms, see /license.txt */
 
 /**
- * Script.
- *
  * @package chamilo.gradebook
  */
 require_once __DIR__.'/../inc/global.inc.php';

+ 2 - 2
main/gradebook/lib/be/category.class.php

@@ -100,9 +100,9 @@ class Category implements GradebookItem
     {
         if (!empty($this->certificate_min_score)) {
             return $this->certificate_min_score;
-        } else {
-            return null;
         }
+
+        return null;
     }
 
     /**