Completed
Push — 1.11.x ( fba1ad...d3f8ec )
by José
61:34 queued 31:12
created
main/lp/lp_ajax_start_timer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 /**
10 10
  * Start a timer and hand it back to the JS by assigning the current time (of start) to
11 11
  * var asset_timer
12
- * @return string JavaScript time intializer
12
+ * @return integer JavaScript time intializer
13 13
  */
14 14
 function start_timer()
15 15
 {
Please login to merge, or discard this patch.
main/lp/lp_final_item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
  * @param int $sessionId
130 130
  * @param string $downloadCertificateLink
131 131
  * @param string $badgeLink
132
- * @return mixed|string
132
+ * @return string
133 133
  */
134 134
 function generateLPFinalItemTemplate($lpItemId, $courseCode, $sessionId = 0, $downloadCertificateLink = '', $badgeLink = '')
135 135
 {
Please login to merge, or discard this patch.
main/lp/openoffice_text.class.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Gets html pages and compose them into a learning path
44 44
      * @param	array	The files that will compose the generated learning path. Unused so far.
45
-     * @return	boolean	False if file does not exit. Nothing otherwise.
45
+     * @return	false|null	False if file does not exit. Nothing otherwise.
46 46
      */
47 47
     function make_lp($files = array())
48 48
     {
@@ -96,6 +96,7 @@  discard block
 block discarded – undo
96 96
      * Manages dir/chapter splitting
97 97
      * @param	string	Chapter header
98 98
      * @param	string	Content
99
+     * @param string $content
99 100
      * @return	void
100 101
      */
101 102
     function dealPerChapter($header, $content)
@@ -187,6 +188,7 @@  discard block
 block discarded – undo
187 188
      * Manages page splitting
188 189
      * @param	string	Page header
189 190
      * @param	string	Page body
191
+     * @param string $body
190 192
      * @return	void
191 193
      */
192 194
     function dealPerPage($header, $body)
Please login to merge, or discard this patch.
main/lp/openoffice_text_document.class.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Gets html pages and compose them into a learning path
40 40
      * @param	array	The files that will compose the generated learning path. Unused so far.
41
-     * @return	boolean	False if file does not exit. Nothing otherwise.
41
+     * @return	false|null	False if file does not exit. Nothing otherwise.
42 42
      */
43 43
     public function make_lp($files = array())
44 44
     {
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
      * Manages dir/chapter splitting
93 93
      * @param	string	Chapter header
94 94
      * @param	string	Content
95
+     * @param string $content
95 96
      * @return	void
96 97
      */
97 98
     function dealPerChapter($header, $content)
@@ -181,6 +182,7 @@  discard block
 block discarded – undo
181 182
      * Manages page splitting
182 183
      * @param	string	Page header
183 184
      * @param	string	Page body
185
+     * @param string $body
184 186
      * @return	void
185 187
      */
186 188
     function dealPerPage($header, $body)
Please login to merge, or discard this patch.
main/webservices/registration.soap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -2626,6 +2626,9 @@
 block discarded – undo
2626 2626
     )
2627 2627
 );
2628 2628
 
2629
+/**
2630
+ * @param string $type
2631
+ */
2629 2632
 function WSHelperActionOnUsers($params, $type) {
2630 2633
     if (!WSHelperVerifyKey($params)) {
2631 2634
         return returnError(WS_ERROR_SECRET_KEY);
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
@@ -342,6 +342,7 @@
 block discarded – undo
342 342
 	 * @param string User id value
343 343
 	 * @param int Set to 1 to subscribe, 0 to unsubscribe
344 344
 	 * @param int Status (STUDENT or TEACHER) Used for subscription only
345
+	 * @param integer $state
345 346
 	 * @return mixed True if subscription or unsubscription was successful, false otherwise
346 347
 	 */
347 348
 	protected function changeUserSubscription($course_id_field_name, $course_id_value, $user_id_field_name, $user_id_value, $state, $status = STUDENT) {
Please login to merge, or discard this patch.
main/work/downloadfolder.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
  * @param array $arr1 first array
328 328
  * @param array $arr2 second array
329 329
  *
330
- * @return array difference between the two arrays
330
+ * @return string difference between the two arrays
331 331
  */
332 332
 function diff($arr1, $arr2)
333 333
 {
Please login to merge, or discard this patch.
src/Chamilo/ContactBundle/Controller/ContactController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @Route("/", name="contact")
26 26
      *
27 27
      * @param Request $request
28
-     * @return mixed
28
+     * @return Response
29 29
      */
30 30
     public function indexAction(Request $request)
31 31
     {
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Component/CourseCopy/CourseArchiver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
 
213 213
     /**
214 214
      * @param array $file
215
-     * @return bool|string
215
+     * @return string|false
216 216
      */
217 217
     public static function importUploadedFile($file)
218 218
     {
Please login to merge, or discard this patch.