Browse Source

Minor - flint fixes

Julio Montoya 5 years ago
parent
commit
be151a1149

+ 1 - 1
load_search.php

@@ -847,7 +847,7 @@ if (!empty($filterToSend)) {
     // see https://task.beeznest.com/issues/10849#change-81902
     foreach ($filterToSend['rules'] as &$filterItem) {
         if (isset($filterItem['field'])) {
-            switch($filterItem['field']) {
+            switch ($filterItem['field']) {
                 case 'extra_filiere':
                 case 'extra_domaine':
                 case 'extra_theme_it':

+ 0 - 1
main/exercise/exercise.class.php

@@ -1,7 +1,6 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-use Chamilo\CoreBundle\Component\Utils\ChamiloApi;
 use Chamilo\CoreBundle\Entity\GradebookLink;
 use Chamilo\CoreBundle\Entity\TrackEHotspot;
 use ChamiloSession as Session;

+ 4 - 4
main/inc/lib/api.lib.php

@@ -8797,11 +8797,11 @@ function api_create_protected_dir($name, $parentDirectory)
  * @param string    email body
  * @param string    sender name
  * @param string    sender e-mail
- * @param array  $extra_headers  in form $headers = array($name => $value) to allow parsing
- * @param array  $data_file      (path and filename)
- * @param bool   $embedded_image True for attaching a embedded file inside content html (optional)
+ * @param array  $extra_headers        in form $headers = array($name => $value) to allow parsing
+ * @param array  $data_file            (path and filename)
+ * @param bool   $embedded_image       True for attaching a embedded file inside content html (optional)
  * @param array  $additionalParameters
- * @param string $sendErrorTo    If there's an error while sending the email, $sendErrorTo will receive a notification
+ * @param string $sendErrorTo          If there's an error while sending the email, $sendErrorTo will receive a notification
  *
  * @return int true if mail was sent
  *

+ 2 - 2
main/inc/lib/sessionmanager.lib.php

@@ -458,8 +458,8 @@ class SessionManager
     /**
      * Gets the admin session list callback of the session/session_list.php page.
      *
-     * @param array  $options   order and limit keys
-     * @param bool   $get_count Whether to get all the results or only the count
+     * @param array  $options           order and limit keys
+     * @param bool   $get_count         Whether to get all the results or only the count
      * @param array  $columns
      * @param array  $extraFieldsToLoad
      * @param string $language