Completed
Pull Request — master (#1537)
by José
29:27
created
main/webservices/cm_webservice_course.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -453,6 +453,7 @@
 block discarded – undo
453 453
 	 * @param string Session id field name
454 454
 	 * @param string Session id value
455 455
 	 * @param int State (1 to subscribe, 0 to unsubscribe)
456
+	 * @param integer $state
456 457
 	 * @return mixed True on success, WSError otherwise
457 458
 	 */
458 459
 	protected function changeCourseSubscription($course_id_field_name, $course_id_value, $session_id_field_name, $session_id_value, $state) {
Please login to merge, or discard this patch.
main/webservices/webservice_course.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -453,6 +453,7 @@
 block discarded – undo
453 453
 	 * @param string Session id field name
454 454
 	 * @param string Session id value
455 455
 	 * @param int State (1 to subscribe, 0 to unsubscribe)
456
+	 * @param integer $state
456 457
 	 * @return mixed True on success, WSError otherwise
457 458
 	 */
458 459
 	protected function changeCourseSubscription($course_id_field_name, $course_id_value, $session_id_field_name, $session_id_value, $state) {
Please login to merge, or discard this patch.
main/inc/lib/search/IndexableChunk.class.php 1 patch
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.
main/inc/lib/search/search_widget.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -187,6 +187,7 @@  discard block
 block discarded – undo
187 187
  * Build the prefilter form.
188 188
  *
189 189
  * This type allow filter all other multiple select terms by one term in a dinamic way
190
+ * @param string $prefilter_prefix
190 191
  */
191 192
 function search_widget_prefilter_form($action, $show_thesaurus, $sf_terms, $op, $prefilter_prefix=NULL) {
192 193
     $thesaurus_icon = Display::return_icon('thesaurus.gif', get_lang('SearchAdvancedOptions'), array('id'=>'thesaurus-icon'));
@@ -277,6 +278,8 @@  discard block
 block discarded – undo
277 278
 
278 279
 /**
279 280
  * Show search form
281
+ * @param string $action
282
+ * @param boolean $show_thesaurus
280 283
  */
281 284
 function display_search_form($action, $show_thesaurus, $sf_terms, $op) {
282 285
     $type = (!empty($_REQUEST['type'])? htmlentities($_REQUEST['type']): 'normal');
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/Component/Editor/Driver/DropBoxDriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Close connection
135 135
      *
136
-     * @return void
136
+     * @return boolean
137 137
      * @author Dmitry (dio) Levashov
138 138
      **/
139 139
     public function umount() {
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
      * Close opened file
489 489
      *
490 490
      * @param  resource  $fp  file pointer
491
-     * @return bool
491
+     * @return boolean|null
492 492
      * @author Dmitry (dio) Levashov
493 493
      **/
494 494
     protected function _fclose($fp, $path='') {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Controller/BaseResourceController.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.