Completed
Push — 1.10.x ( 99fc84...8b7a4d )
by Angel Fernando Quiroz
37:52 queued 08:06
created
plugin/pens/lib/tests/test_pens_request.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -76,6 +76,11 @@
 block discarded – undo
76 76
 		return PENSRequestFactory::createPENSRequest($myargs);
77 77
 	}
78 78
 	
79
+	/**
80
+	 * @param string $key
81
+	 * @param string|null $value
82
+	 * @param integer $code
83
+	 */
79 84
 	public function exceptionTestForValue($key, $value, $code) {
80 85
 		try {
81 86
 			$myargs = $this->args;
Please login to merge, or discard this patch.
plugin/search_course/lib/register_course_widget.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Handle the subscribe action.
59 59
      *
60
-     * @return bool
60
+     * @return null|boolean
61 61
      */
62 62
     function action_subscribe_user()
63 63
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     /**
153 153
      *
154
-     * @param type $course_code
154
+     * @param string $course_code
155 155
      * @return type
156 156
      */
157 157
     function retrieve_course($course_code)
Please login to merge, or discard this patch.
plugin/search_course/lib/search_course_widget.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -40,11 +40,19 @@
 block discarded – undo
40 40
         return isset($_GET[$key]) ? $_GET[$key] : $default;
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $key
45
+     *
46
+     * @return string
47
+     */
43 48
     public static function server($key, $default = '')
44 49
     {
45 50
         return isset($_SERVER[$key]) ? $_SERVER[$key] : $default;
46 51
     }
47 52
 
53
+    /**
54
+     * @param string $name
55
+     */
48 56
     public static function get_lang($name)
49 57
     {
50 58
         return SearchCoursePlugin::create()->get_lang($name);
Please login to merge, or discard this patch.
plugin/ticket/src/ticket.class.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param $category_id
58 58
      * @param $course_id
59 59
      * @param $project_id
60
-     * @param $other_area
60
+     * @param integer $other_area
61 61
      * @param $email
62 62
      * @param $subject
63 63
      * @param $content
@@ -240,8 +240,8 @@  discard block
 block discarded – undo
240 240
 
241 241
     /**
242 242
      * Assign ticket to admin
243
-     * @param $ticket_id
244
-     * @param $user_id
243
+     * @param string $ticket_id
244
+     * @param integer $user_id
245 245
      */
246 246
     public static function assign_ticket_user($ticket_id, $user_id)
247 247
     {
@@ -294,9 +294,9 @@  discard block
 block discarded – undo
294 294
 
295 295
     /**
296 296
      * Insert message between Users and Admins
297
-     * @param $ticket_id
298
-     * @param $subject
299
-     * @param $content
297
+     * @param string $ticket_id
298
+     * @param string $subject
299
+     * @param string $content
300 300
      * @param $file_attachments
301 301
      * @param $user_id
302 302
      * @param string $status
@@ -402,9 +402,9 @@  discard block
 block discarded – undo
402 402
     /**
403 403
      * Attachment files when a message is sent
404 404
      * @param $file_attach
405
-     * @param $ticket_id
406
-     * @param $message_id
407
-     * @param $message_attch_id
405
+     * @param integer $ticket_id
406
+     * @param integer $message_id
407
+     * @param integer $message_attch_id
408 408
      * @return array
409 409
      */
410 410
     public static function save_message_attachment_file(
Please login to merge, or discard this patch.
plugin/ticket/src/ticket_plugin.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * Set the result
14 14
      * @staticvar null $result
15
-     * @return type
15
+     * @return TicketPlugin
16 16
      */
17 17
     static function create()
18 18
     {
Please login to merge, or discard this patch.
plugin/ticket/src/tutor_report.lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 /**
75 75
  * @param $courseInfo
76
- * @param $weeksCount
76
+ * @param string $weeksCount
77 77
  * @param $page
78 78
  * @return array
79 79
  */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
 /**
184 184
  * @param $datos
185
- * @param $pagina
185
+ * @param integer $pagina
186 186
  * @return string
187 187
  */
188 188
 function showStudentResult($datos, $pagina)
@@ -201,8 +201,8 @@  discard block
 block discarded – undo
201 201
 
202 202
 /**
203 203
  * @param $data
204
- * @param $numero_semanas
205
- * @return array
204
+ * @param integer $numero_semanas
205
+ * @return string[]
206 206
  */
207 207
 function showStudentResultExport($data, $numero_semanas)
208 208
 {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * @param array $templates
96 96
      *
97
-     * @return null
97
+     * @return null|string
98 98
      */
99 99
     public function formatTemplates($templates)
100 100
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Connector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Available driver list.
87
-     * @return array
87
+     * @return string[]
88 88
      */
89 89
     private function getDefaultDriverList()
90 90
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Driver/DropBoxDriver.php 1 patch
Doc Comments   +3 added lines, -3 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='') {
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
      *
506 506
      * @param  string  $path  parent dir path
507 507
      * @param string  $name  new directory name
508
-     * @return string|bool
508
+     * @return string|false
509 509
      * @author Dmitry (dio) Levashov
510 510
      **/
511 511
     protected function _mkdir($path, $name) {
Please login to merge, or discard this patch.