Completed
Pull Request — master (#2655)
by Kevin
11:23
created
default/boinc/modules/boincstats/includes/pchart/class/pSpring.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -258,6 +258,11 @@  discard block
 block discarded – undo
258 258
      $this->Data[$SourceID]["Connections"][] = $TargetID;
259 259
     }
260 260
    /* Get the median linked nodes position */
261
+
262
+   /**
263
+    * @param double $X
264
+    * @param double $Y
265
+    */
261 266
    function getMedianOffset($Key,$X,$Y)
262 267
     {
263 268
      $Cpt = 1;
@@ -277,6 +282,10 @@  discard block
 block discarded – undo
277 282
     }
278 283
 
279 284
    /* Return the ID of the attached partner with the biggest weight */
285
+
286
+   /**
287
+    * @return double
288
+    */
280 289
    function getBiggestPartner($Key)
281 290
     {
282 291
      if ( !isset($this->Data[$Key]["Connections"]) ) { return(""); }
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/boincwork/includes/boincwork.forms.inc 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 /**
15 15
  * The structure of the general preferences form
16
+ * @param string $prefs_preset
16 17
  */
17 18
 function boincwork_generalprefs_form(&$form_state, $venue, $prefs_preset = null, $advanced = FALSE) {
18 19
   $form = array();
@@ -754,6 +755,7 @@  discard block
 block discarded – undo
754 755
 
755 756
 /**
756 757
  * Perform the database updates to merge the old host into the new host
758
+ * @param string $message
757 759
  */
758 760
 function boincwork_host_merge($old_host, $new_host, &$message = NULL) {
759 761
   // Decay the average credit of the two hosts
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/contrib/bbcode/bbcode-filter.inc 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -1,6 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 // $Id: bbcode-filter.inc,v 1.66 2008/11/30 08:50:08 naudefj Exp $
3 3
 
4
+/**
5
+ * @param string $body
6
+ */
4 7
 function _bbcode_filter_process(&$body, $format = -1) {
5 8
 
6 9
   $quote_text = t('Quote:');
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/contrib/cck/includes/content.devel.inc 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@
 block discarded – undo
68 68
  * custom multiple value widgets but don't need any other special multiple
69 69
  * values handling. This will call the field generation function
70 70
  * a random number of times and compile the results into a node array.
71
+ * @param string $function
71 72
  */
72 73
 function content_devel_multiple($function, $node, $field) {
73 74
   $node_field = array();
Please login to merge, or discard this patch.
sites/default/boinc/modules/contrib/cck/includes/content.node_form.inc 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  *   the form_state for the above form
32 32
  * @param $field
33 33
  *   the field array to use to create the form element
34
- * @param $get_delta
34
+ * @param integer $get_delta
35 35
  *   use to get only a specific delta value of a multiple value field, otherwise
36 36
  *   function will return the entire $field form element.
37 37
  */
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/contrib/cck/includes/content.rules.inc 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -289,6 +289,7 @@
 block discarded – undo
289 289
 /**
290 290
  * Returns the fields of a given field type only.
291 291
  * Suitable for using it with #options.
292
+ * @param string $type
292 293
  */
293 294
 function content_rules_get_field_names_by_type($type = NULL) {
294 295
   $fields = array();
Please login to merge, or discard this patch.
default/boinc/modules/contrib/cck/modules/content_copy/content_copy.module 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -607,7 +607,7 @@
 block discarded – undo
607 607
 }
608 608
 
609 609
 /**
610
- * @return a code representation of the recorded macro.
610
+ * @return string|null code representation of the recorded macro.
611 611
  */
612 612
 function content_copy_get_macro() {
613 613
   // Define the indexes for the evaluated code.
Please login to merge, or discard this patch.
boinc/modules/contrib/cck/modules/nodereference/nodereference.module 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -788,7 +788,7 @@
 block discarded – undo
788 788
  * @param $ids
789 789
  *   Optional node ids to lookup (the $string and $match arguments will be
790 790
  *   ignored).
791
- * @param $limit
791
+ * @param integer $limit
792 792
  *   If non-zero, limit the size of the result set.
793 793
  *
794 794
  * @return
Please login to merge, or discard this patch.
boinc/modules/contrib/cck/modules/userreference/userreference.module 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -653,7 +653,7 @@
 block discarded – undo
653 653
  * @param $ids
654 654
  *   Optional user ids to lookup (the $string and $match arguments will be
655 655
  *   ignored).
656
- * @param $limit
656
+ * @param integer $limit
657 657
  *   If non-zero, limit the size of the result set.
658 658
  *
659 659
  * @return
Please login to merge, or discard this patch.