Completed
Push — 1.10.x ( 4797fb...ab3968 )
by Yannick
46:02
created
plugin/pens/lib/pens/pens_exception.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@
 block discarded – undo
79 79
 	 * 
80 80
 	 * @param int Exception code
81 81
 	 * @param string Message to display
82
+	 * @param integer $code
82 83
 	 * @return PENSException Exception created
83 84
 	 */
84 85
 	public function __construct($code, $message = null) {
Please login to merge, or discard this patch.
plugin/pens/lib/pens/pens_server.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -236,6 +236,7 @@  discard block
 block discarded – undo
236 236
 	 * @param PENSRequest Original collect request
237 237
 	 * @param PENSResponse Reponse to send in the receipt or the alert
238 238
 	 * @param string Mode (alert | receipt)
239
+	 * @param string $mode
239 240
 	 * @return PENSResponse Response
240 241
 	 */
241 242
 	protected function sendAlertOrReceipt($request, $response, $mode) {
@@ -283,6 +284,7 @@  discard block
 block discarded – undo
283 284
 	 * 
284 285
 	 * @param PENSRequest Original collect request
285 286
 	 * @param PENSResponse Response to send in the receipt
287
+	 * @param PENSResponse $receipt
286 288
 	 * @return PENSResponse Response
287 289
 	 */
288 290
 	protected function sendReceipt($request, $receipt) {
@@ -294,6 +296,7 @@  discard block
 block discarded – undo
294 296
 	 * 
295 297
 	 * @param PENSRequest Original collect request
296 298
 	 * @param string Path to the package on the hard drive
299
+	 * @param string $path_to_package
297 300
 	 */
298 301
 	protected function processPackage($request, $path_to_package) {
299 302
 		return $this->_package_handler->processPackage($request, $path_to_package);
Please login to merge, or discard this patch.
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.