Completed
Push — master ( f173a6...4a27fe )
by Angel Fernando Quiroz
37:49 queued 04:39
created
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.
src/Chamilo/CoreBundle/Menu/NavBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             );
137 137
             /** @var Category $category */
138 138
             foreach ($categories as $category) {
139
-                 $faq->addChild(
139
+                    $faq->addChild(
140 140
                     $category->getHeadline(),
141 141
                     array(
142 142
                         'route' => 'faq',
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.
main/inc/lib/hook/interfaces/HookSkypeObserverInterface.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 HookSkypeObserverInterface extends HookObserverInterface
13 13
 {
14 14
     /**
15
-     * @param HookSkypeObserverInterface $hook
15
+     * @param HookSkypeEventInterface $hook
16 16
      *
17 17
      * @return int
18 18
      */
Please login to merge, or discard this patch.
main/inc/lib/search/xapian/XapianQuery.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -239,6 +239,7 @@
 block discarded – undo
239 239
 /**
240 240
  * @author Isaac flores paz <[email protected]>
241 241
  * @param String The xapian error message
242
+ * @param string $xapian_error_message
242 243
  * @return String The chamilo error message
243 244
  */
244 245
 function display_xapian_error($xapian_error_message) {
Please login to merge, or discard this patch.
Braces   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,7 +30,8 @@  discard block
 block discarded – undo
30 30
  * @param   int             $count_type     Number of items to retrieve
31 31
  * @return  array                           An array of nids corresponding to the results.
32 32
  */
33
-function xapian_query($query_string, $db = NULL, $start = 0, $length = 10, $extra = array(), $count_type = 0) {
33
+function xapian_query($query_string, $db = NULL, $start = 0, $length = 10, $extra = array(), $count_type = 0)
34
+{
34 35
 
35 36
     try {
36 37
         if (!is_object($db)) {
@@ -129,7 +130,8 @@  discard block
 block discarded – undo
129 130
 /**
130 131
  * build a boolean query
131 132
  */
132
-function xapian_get_boolean_query($term) {
133
+function xapian_get_boolean_query($term)
134
+{
133 135
     return new XapianQuery($term);
134 136
 }
135 137
 
@@ -141,7 +143,8 @@  discard block
 block discarded – undo
141 143
  * @param   XapianDatabase  $db     Xapian database to connect
142 144
  * @return  array
143 145
  */
144
-function xapian_get_all_terms($count = 0, $prefix, $db = NULL) {
146
+function xapian_get_all_terms($count = 0, $prefix, $db = NULL)
147
+{
145 148
     try {
146 149
         if (!is_object($db)) {
147 150
             $db = new XapianDatabase(XAPIAN_DB);
@@ -175,7 +178,8 @@  discard block
 block discarded – undo
175 178
  * @param   XapianDocument  document searched
176 179
  * @return  array
177 180
  */
178
-function xapian_get_doc_terms($doc = NULL, $prefix) {
181
+function xapian_get_doc_terms($doc = NULL, $prefix)
182
+{
179 183
     try {
180 184
         if (!is_a($doc, 'XapianDocument')) {
181 185
             return;
@@ -210,7 +214,8 @@  discard block
 block discarded – undo
210 214
  * @param string $op
211 215
  * @return XapianQuery query joined
212 216
  */
213
-function xapian_join_queries($query1, $query2 = NULL, $op = 'or') {
217
+function xapian_join_queries($query1, $query2 = NULL, $op = 'or')
218
+{
214 219
     // let decide how to join, avoiding include xapian.php outside
215 220
     switch ($op) {
216 221
         case 'or':
@@ -244,7 +249,8 @@  discard block
 block discarded – undo
244 249
  * @param String The xapian error message
245 250
  * @return String The chamilo error message
246 251
  */
247
-function display_xapian_error($xapian_error_message) {
252
+function display_xapian_error($xapian_error_message)
253
+{
248 254
     $message = explode(':', $xapian_error_message);
249 255
     $type_error_message = $message[0];
250 256
     if ($type_error_message == 'DatabaseOpeningError') {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  * @param   int             $count_type     Number of items to retrieve
31 31
  * @return  array                           An array of nids corresponding to the results.
32 32
  */
33
-function xapian_query($query_string, $db = NULL, $start = 0, $length = 10, $extra = array(), $count_type = 0) {
33
+function xapian_query($query_string, $db = null, $start = 0, $length = 10, $extra = array(), $count_type = 0) {
34 34
 
35 35
     try {
36 36
         if (!is_object($db)) {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         }
47 47
 
48 48
 
49
-        $query = NULL;
49
+        $query = null;
50 50
         $enquire = new XapianEnquire($db);
51 51
 
52 52
         if (!empty($query_string)) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         return array($count, $results);
123 123
     } catch (Exception $e) {
124 124
         display_xapian_error($e->getMessage());
125
-        return NULL;
125
+        return null;
126 126
     }
127 127
 }
128 128
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
  * @param   XapianDatabase  $db     Xapian database to connect
142 142
  * @return  array
143 143
  */
144
-function xapian_get_all_terms($count = 0, $prefix, $db = NULL) {
144
+function xapian_get_all_terms($count = 0, $prefix, $db = null) {
145 145
     try {
146 146
         if (!is_object($db)) {
147 147
             $db = new XapianDatabase(XAPIAN_DB);
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         return $terms;
166 166
     } catch (Exception $e) {
167 167
         display_xapian_error($e->getMessage());
168
-        return NULL;
168
+        return null;
169 169
     }
170 170
 }
171 171
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
  * @param   XapianDocument  document searched
176 176
  * @return  array
177 177
  */
178
-function xapian_get_doc_terms($doc = NULL, $prefix) {
178
+function xapian_get_doc_terms($doc = null, $prefix) {
179 179
     try {
180 180
         if (!is_a($doc, 'XapianDocument')) {
181 181
             return;
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         return $terms;
199 199
     } catch (Exception $e) {
200 200
         display_xapian_error($e->getMessage());
201
-        return NULL;
201
+        return null;
202 202
     }
203 203
 }
204 204
 
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
  * @param string $op
211 211
  * @return XapianQuery query joined
212 212
  */
213
-function xapian_join_queries($query1, $query2 = NULL, $op = 'or') {
213
+function xapian_join_queries($query1, $query2 = null, $op = 'or') {
214 214
     // let decide how to join, avoiding include xapian.php outside
215 215
     switch ($op) {
216 216
         case 'or':
Please login to merge, or discard this patch.
main/inc/lib/SmsPluginLibraryInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param array $additionalParameters
23 23
      *
24
-     * @return mixed
24
+     * @return void
25 25
      */
26 26
     public function send($additionalParameters);
27 27
 
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/AccessUrlRelCourseCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * Set accessUrlId
41 41
      *
42 42
      * @param integer $accessUrlId
43
-     * @return AccessUrlRelSession
43
+     * @return AccessUrlRelCourseCategory
44 44
      */
45 45
     public function setAccessUrlId($accessUrlId)
46 46
     {
Please login to merge, or discard this patch.