Completed
Push — 1.11.x ( c5cfcc...1cf9be )
by José
46:45 queued 17:54
created
main/inc/lib/search/IndexableChunk.class.php 2 patches
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.
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@  discard block
 block discarded – undo
59 59
      * @param  string  Value
60 60
      * @return  void
61 61
      */
62
-    function addValue($key, $value) {
62
+    function addValue($key, $value)
63
+    {
63 64
         $this->data[$key] = $value;
64 65
     }
65 66
 
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
      * @param string Term
69 70
      * @param string Flag (one character)
70 71
      */
71
-    public function addTerm($term, $flag) {
72
+    public function addTerm($term, $flag)
73
+    {
72 74
         global $charset;
73 75
         if (strlen($flag) == 1) {
74 76
             $this->terms[] = array('name' => api_convert_encoding(stripslashes($term), 'UTF-8', $charset), 'flag' => $flag);
@@ -78,14 +80,16 @@  discard block
 block discarded – undo
78 80
     /**
79 81
      * Class constructor. Just generates an empty 'data' array attribute
80 82
      */
81
-    function __construct() {
83
+    function __construct()
84
+    {
82 85
         $this->data = array();
83 86
     }
84 87
 
85 88
     /**
86 89
      * Class desctructor. Unsets attributes.
87 90
      */
88
-    function __destruct() {
91
+    function __destruct()
92
+    {
89 93
         unset($this->data);
90 94
         unset($this->terms);
91 95
     }
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/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/NotificationModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
     protected $icon;
20 20
 
21
+    /**
22
+     * @param string $message
23
+     */
21 24
     function __construct($message = null, $type = 'info', $icon = 'fa fa-warning')
22 25
     {
23 26
         $this->message = $message;
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/TaskModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     protected $title;
51 51
 
52 52
     /**
53
-     * @param null   $title
53
+     * @param string   $title
54 54
      * @param int    $progress
55 55
      * @param string $color
56 56
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @return mixed
96
+     * @return integer
97 97
      */
98 98
     public function getProgress()
99 99
     {
Please login to merge, or discard this patch.
src/Chamilo/FaqBundle/Entity/Category.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param string $rank
95 95
      *
96
-     * @return Question
96
+     * @return Category
97 97
      */
98 98
     public function setRank($rank)
99 99
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     /**
202 202
      * Get questions
203 203
      *
204
-     * @return \Doctrine\Common\Collections\Collection
204
+     * @return Question[]
205 205
      */
206 206
     public function getQuestions()
207 207
     {
Please login to merge, or discard this patch.
main/gradebook/lib/be/evallink.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@  discard block
 block discarded – undo
117 117
         }
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $name
122
+     */
120 123
     public function set_name($name)
121 124
     {
122 125
         if ($this->is_valid_link()) {
@@ -124,6 +127,9 @@  discard block
 block discarded – undo
124 127
         }
125 128
     }
126 129
 
130
+    /**
131
+     * @param string $description
132
+     */
127 133
     public function set_description($description)
128 134
     {
129 135
         if ($this->is_valid_link()) {
@@ -131,6 +137,9 @@  discard block
 block discarded – undo
131 137
         }
132 138
     }
133 139
 
140
+    /**
141
+     * @param integer $max
142
+     */
134 143
     public function set_max($max)
135 144
     {
136 145
         if ($this->is_valid_link()) {
Please login to merge, or discard this patch.
main/gradebook/lib/be/linkfactory.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
     /**
95 95
      * Return an array of all known link types
96
-     * @return array
96
+     * @return integer[]
97 97
      */
98 98
     public static function get_all_types()
99 99
     {
Please login to merge, or discard this patch.
main/inc/lib/hook/interfaces/HookResubscribeObserverInterface.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
 interface HookResubscribeObserverInterface extends HookObserverInterface
13 13
 {
14 14
     /**
15
-     * @param HookResubscribeObserverInterface $hook
15
+     * @param HookResubscribeEventInterface $hook
16 16
      *
17 17
      * @return int
18 18
      */
Please login to merge, or discard this patch.