Completed
Push — 1.11.x ( d78ca9...0f5bcf )
by José
71:55 queued 46:29
created
main/webservices/access_url.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 
21 21
 define('WS_ERROR_SECRET_KEY', 1);
22 22
 
23
+/**
24
+ * @param integer $code
25
+ */
23 26
 function return_error($code) {
24 27
     $fault = null;
25 28
     switch ($code) {
Please login to merge, or discard this patch.
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/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.
src/Chamilo/ThemeBundle/EventListener/SidebarSetupMenuDemoListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
 
44 44
     }
45 45
 
46
+    /**
47
+     * @param MenuItemModel[] $items
48
+     */
46 49
     protected function activateByRoute($route, $items) {
47 50
 
48 51
         foreach($items as $item) { /** @var $item MenuItemModel */
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/MenuItemModel.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -60,6 +60,11 @@
 block discarded – undo
60 60
      */
61 61
     protected $parent = null;
62 62
 
63
+    /**
64
+     * @param string $id
65
+     * @param string $label
66
+     * @param string $route
67
+     */
63 68
     function __construct(
64 69
         $id,
65 70
         $label,
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/MessageModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @param UserInterface $from
50 50
      * @param string        $subject
51
-     * @param null          $sentAt
51
+     * @param \DateTime          $sentAt
52 52
      * @param UserInterface $to
53 53
      */
54 54
     function __construct(UserInterface $from = null, $subject= '', $sentAt = null, UserInterface $to = null)
Please login to merge, or discard this patch.