Completed
Push — master ( f173a6...4a27fe )
by Angel Fernando Quiroz
37:49 queued 04:39
created
main/install/index.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -445,7 +445,10 @@
 block discarded – undo
445 445
     }
446 446
 }
447 447
     ?>
448
-    <input type="hidden" name="updatePath"         value="<?php if (!$badUpdatePath) echo api_htmlentities($proposedUpdatePath, ENT_QUOTES); ?>" />
448
+    <input type="hidden" name="updatePath"         value="<?php if (!$badUpdatePath) {
449
+    echo api_htmlentities($proposedUpdatePath, ENT_QUOTES);
450
+}
451
+?>" />
449 452
     <input type="hidden" name="urlAppendPath"      value="<?php echo api_htmlentities($urlAppendPath, ENT_QUOTES); ?>" />
450 453
     <input type="hidden" name="pathForm"           value="<?php echo api_htmlentities($pathForm, ENT_QUOTES); ?>" />
451 454
     <input type="hidden" name="urlForm"            value="<?php echo api_htmlentities($urlForm, ENT_QUOTES); ?>" />
Please login to merge, or discard this patch.
main/admin/access_url_edit_users_to_url.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     ?>
262 262
     <option value="<?php echo $enreg['user_id']; ?>"><?php echo $enreg['username'].' - '.api_get_person_name($enreg['firstname'], $enreg['lastname']); ?></option>
263 263
     <?php
264
-     }
264
+        }
265 265
     unset($nosessionUsersList);
266 266
     ?>
267 267
     </select>
Please login to merge, or discard this patch.
main/inc/ajax/skill.ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                     //$gradebook['name'] = $gradebook['name'];
56 56
                     //$gradebook_list[]  = $gradebook;
57 57
                 } else {
58
-                  //  $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name'];
58
+                    //  $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name'];
59 59
                     //$gradebook_list[]  = $gradebook;
60 60
                 }
61 61
             }
Please login to merge, or discard this patch.
main/session/add_students_to_session.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
         <tr>
71 71
             <td align="center">
72 72
                 <?php
73
-                 echo Display::select(
74
-                     'sessions[]',
75
-                     $sessionList,
76
-                     '',
77
-                     array('style'=>'width:100%', 'multiple'=>'multiple', 'id'=>'sessions', 'size'=>'15px'),
78
-                     false
79
-                 );
73
+                    echo Display::select(
74
+                        'sessions[]',
75
+                        $sessionList,
76
+                        '',
77
+                        array('style'=>'width:100%', 'multiple'=>'multiple', 'id'=>'sessions', 'size'=>'15px'),
78
+                        false
79
+                    );
80 80
                 ?>
81 81
             </td>
82 82
             <td align="center">
Please login to merge, or discard this patch.
main/inc/lib/search/IndexableChunk.class.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@  discard block
 block discarded – undo
57 57
      * Add a value to the indexed item
58 58
      * @param  string  Key
59 59
      * @param  string  Value
60
+     * @param string $key
60 61
      * @return  void
61 62
      */
62 63
     function addValue($key, $value) {
@@ -109,6 +110,7 @@  discard block
 block discarded – undo
109 110
 
110 111
     /**
111 112
      * Let add tool id term
113
+     * @param string $tool_id
112 114
      */
113 115
     public function addToolId($tool_id)
114 116
     {
Please login to merge, or discard this patch.
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@  discard block
 block discarded – undo
59 59
      * @param  string  Value
60 60
      * @return  void
61 61
      */
62
-    function addValue($key, $value) {
62
+    function addValue($key, $value)
63
+    {
63 64
         $this->data[$key] = $value;
64 65
     }
65 66
 
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
      * @param string Term
69 70
      * @param string Flag (one character)
70 71
      */
71
-    public function addTerm($term, $flag) {
72
+    public function addTerm($term, $flag)
73
+    {
72 74
         global $charset;
73 75
         if (strlen($flag) == 1) {
74 76
             $this->terms[] = array('name' => api_convert_encoding(stripslashes($term), 'UTF-8', $charset), 'flag' => $flag);
@@ -78,14 +80,16 @@  discard block
 block discarded – undo
78 80
     /**
79 81
      * Class constructor. Just generates an empty 'data' array attribute
80 82
      */
81
-    function __construct() {
83
+    function __construct()
84
+    {
82 85
         $this->data = array();
83 86
     }
84 87
 
85 88
     /**
86 89
      * Class desctructor. Unsets attributes.
87 90
      */
88
-    function __destruct() {
91
+    function __destruct()
92
+    {
89 93
         unset($this->data);
90 94
         unset($this->terms);
91 95
     }
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Connector.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Available driver list.
81 81
      * @param array
82
+     * @param string[] $list
82 83
      */
83 84
     public function setDriverList($list)
84 85
     {
@@ -87,7 +88,7 @@  discard block
 block discarded – undo
87 88
 
88 89
     /**
89 90
      * Available driver list.
90
-     * @return array
91
+     * @return string[]
91 92
      */
92 93
     private function getDefaultDriverList()
93 94
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Controller/BaseController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @param $action
152
+     * @param string $action
153 153
      * @param MenuItemInterface $menu
154 154
      * @return MenuItemInterface
155 155
      */
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Controller/IndexController.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,9 +38,6 @@  discard block
 block discarded – undo
38 38
      * @Route("/", name="home")
39 39
      * @Method({"GET"})
40 40
      *
41
-     * @param string $type courses|sessions|mycoursecategories
42
-     * @param string $filter for the userportal courses page. Only works when setting 'history'
43
-     * @param int $page
44 41
      *
45 42
      * @return Response
46 43
      */
@@ -137,7 +134,7 @@  discard block
 block discarded – undo
137 134
      * @Method({"GET"})
138 135
      * @param Request $request
139 136
      *
140
-     * @return Response
137
+     * @return string
141 138
      */
142 139
     public function toggleStudentViewAction(Request $request)
143 140
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Course.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     }
393 393
 
394 394
     /**
395
-     * @return ArrayCollection
395
+     * @return CTool[]
396 396
      */
397 397
     public function getTools()
398 398
     {
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     }
428 428
 
429 429
     /**
430
-     * @param $urls
430
+     * @param ArrayCollection $urls
431 431
      */
432 432
     public function setUrls($urls)
433 433
     {
@@ -1244,7 +1244,7 @@  discard block
 block discarded – undo
1244 1244
     }
1245 1245
 
1246 1246
     /**
1247
-     * @return array
1247
+     * @return string[]
1248 1248
      */
1249 1249
     public static function getStatusList()
1250 1250
     {
Please login to merge, or discard this patch.