Completed
Pull Request — master (#1795)
by Christian
11:36
created
drupal/sites/all/libraries/phpmailer/class.pop3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * Connect to a POP3 server.
201 201
      * @access public
202 202
      * @param string $host
203
-     * @param integer|boolean $port
203
+     * @param integer $port
204 204
      * @param integer $tval
205 205
      * @return boolean
206 206
      */
Please login to merge, or discard this patch.
drupal/sites/all/libraries/phpmailer/extras/htmlfilter.php 1 patch
Doc Comments   +11 added lines, -2 removed lines patch added patch discarded remove patch
@@ -663,6 +663,12 @@  discard block
 block discarded – undo
663 663
     }
664 664
 }
665 665
 
666
+/**
667
+ * @param string $body
668
+ * @param integer $pos
669
+ * @param string $trans_image_path
670
+ * @param boolean $block_external_images
671
+ */
666 672
 function tln_fixstyle($body, $pos, $trans_image_path, $block_external_images)
667 673
 {
668 674
     // workaround for </style> in between comments
@@ -788,6 +794,9 @@  discard block
 block discarded – undo
788 794
     return array($content, $newpos);
789 795
 }
790 796
 
797
+/**
798
+ * @param string $trans_image_path
799
+ */
791 800
 function tln_body2div($attary, $trans_image_path)
792 801
 {
793 802
     $divattary = array('class' => "'bodyclass'");
@@ -828,8 +837,8 @@  discard block
 block discarded – undo
828 837
  *
829 838
  * @param string $body                    The HTML you wish to filter
830 839
  * @param array $tag_list                see description above
831
- * @param array $rm_tags_with_content see description above
832
- * @param array $self_closing_tags    see description above
840
+ * @param string[] $rm_tags_with_content see description above
841
+ * @param string[] $self_closing_tags    see description above
833 842
  * @param boolean $force_tag_closing    see description above
834 843
  * @param array $rm_attnames            see description above
835 844
  * @param array $bad_attvals            see description above
Please login to merge, or discard this patch.
drupal/sites/all/libraries/phpmailer/extras/ntlm_sasl_client.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
     public $credentials = array();
19 19
     public $state = SASL_NTLM_STATE_START;
20 20
 
21
+    /**
22
+     * @param stdClass $client
23
+     */
21 24
     public function initialize(&$client)
22 25
     {
23 26
         if (!function_exists($function = "mcrypt_encrypt")
@@ -63,6 +66,9 @@  discard block
 block discarded – undo
63 66
         );
64 67
     }
65 68
 
69
+    /**
70
+     * @param string $challenge
71
+     */
66 72
     public function NTLMResponse($challenge, $password)
67 73
     {
68 74
         $unicode = $this->ASCIIToUnicode($password);
@@ -85,6 +91,9 @@  discard block
 block discarded – undo
85 91
         return $response;
86 92
     }
87 93
 
94
+    /**
95
+     * @param string $ntlm_response
96
+     */
88 97
     public function typeMsg3($ntlm_response, $user, $domain, $workstation)
89 98
     {
90 99
         $domain_unicode = $this->ASCIIToUnicode($domain);
Please login to merge, or discard this patch.
drupal/sites/all/themes/zen/template.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
  * @param $breadcrumb
33 33
  *   An array containing the breadcrumb links.
34 34
  * @return
35
- *   A string containing the breadcrumb output.
35
+ string   A string containing the breadcrumb output.
36 36
  */
37 37
 function zen_breadcrumb($breadcrumb) {
38 38
   // Determine if we are to display the breadcrumb.
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
  *   See http://juicystudio.com/article/screen-readers-display-none.php
88 88
  *   and http://www.w3.org/TR/WCAG-TECHS/H42.html for more information.
89 89
  * @return
90
- *   A string containing an unordered list of links.
90
+ string   A string containing an unordered list of links.
91 91
  */
92 92
 function zen_links($links, $attributes = array('class' => 'links'), $heading = '') {
93 93
   global $language;
@@ -600,10 +600,10 @@  discard block
 block discarded – undo
600 600
    * Do not pass one string containing multiple classes as they will be
601 601
    * incorrectly concatenated with dashes, i.e. "one two" will become "one-two".
602 602
    *
603
-   * @param $class
603
+   * @param string $class
604 604
    *   The class name to clean.
605 605
    * @return
606
-   *   The cleaned class name.
606
+   string   The cleaned class name.
607 607
    */
608 608
   function drupal_html_class($class) {
609 609
     // By default, we filter using Drupal's coding standards.
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
    * @param $id
634 634
    *   The ID to clean.
635 635
    * @return
636
-   *   The cleaned ID.
636
+   string   The cleaned ID.
637 637
    */
638 638
   function drupal_html_id($id) {
639 639
     $id = strtr(drupal_strtolower($id), array(' ' => '-', '_' => '-', '[' => '-', ']' => ''));
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/boincimport/boincimport.module 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
  * Set database connection for boincimport
133 133
  *
134 134
  * @return
135
- *   1 if can connect to BOINC database.
135
+ integer   1 if can connect to BOINC database.
136 136
  *
137 137
  * BEWARE: if you test using db_connect and the connection
138 138
  * fails, the process will die() which is a bit too much since we only
@@ -162,6 +162,7 @@  discard block
 block discarded – undo
162 162
 /**
163 163
  * Check if the module is enabled.
164 164
  * 
165
+ * @param string $module
165 166
  * @return array
166 167
  *    $out['html'] = formatted html.
167 168
  *    $out['result'] = boolean.
Please login to merge, or discard this patch.
drupal/sites/default/boinc/modules/boincstats/boincstats.module 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -422,6 +422,9 @@
 block discarded – undo
422 422
 /*
423 423
  *
424 424
  */
425
+/**
426
+ * @param integer $credit
427
+ */
425 428
 function boincstats_credit_to_ghours($credit) {
426 429
   return $credit / (100 * 365);
427 430
 }
Please login to merge, or discard this patch.
boinc/modules/boincstats/includes/pchart/class/pBarcode128.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -179,6 +179,10 @@
 block discarded – undo
179 179
 
180 180
    function left($value,$NbChar) { return substr($value,0,$NbChar); }  
181 181
    function right($value,$NbChar) { return substr($value,strlen($value)-$NbChar,$NbChar); }  
182
+
183
+   /**
184
+    * @param integer $NbChar
185
+    */
182 186
    function mid($value,$Depart,$NbChar) { return substr($value,$Depart-1,$NbChar); }  
183 187
   }
184 188
 ?>
185 189
\ No newline at end of file
Please login to merge, or discard this patch.
default/boinc/modules/boincstats/includes/pchart/class/pBarcode39.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -181,6 +181,9 @@  discard block
 block discarded – undo
181 181
       }
182 182
     }
183 183
 
184
+   /**
185
+    * @param string $string
186
+    */
184 187
    function checksum( $string )
185 188
     {
186 189
      $checksum = 0;
@@ -195,6 +198,11 @@  discard block
 block discarded – undo
195 198
 
196 199
    function left($value,$NbChar) { return substr($value,0,$NbChar); }  
197 200
    function right($value,$NbChar) { return substr($value,strlen($value)-$NbChar,$NbChar); }  
201
+
202
+   /**
203
+    * @param integer $Depart
204
+    * @param integer $NbChar
205
+    */
198 206
    function mid($value,$Depart,$NbChar) { return substr($value,$Depart-1,$NbChar); }  
199 207
   }
200 208
 ?>
201 209
\ No newline at end of file
Please login to merge, or discard this patch.
default/boinc/modules/boincstats/includes/pchart/class/pCache.class.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@  discard block
 block discarded – undo
47 47
     { return(md5($Marker.serialize($Data->Data))); }
48 48
 
49 49
    /* Write the generated picture to the cache */
50
+
51
+   /**
52
+    * @param pImage $pChartObject
53
+    */
50 54
    function writeToCache($ID,$pChartObject)
51 55
     {
52 56
      /* Compute the paths */
@@ -81,6 +85,10 @@  discard block
 block discarded – undo
81 85
     }
82 86
 
83 87
    /* Remove object older than the specified TS */
88
+
89
+   /**
90
+    * @param integer $Expiry
91
+    */
84 92
    function removeOlderThan($Expiry)
85 93
     { $this->dbRemoval(array("Expiry"=>$Expiry)); }
86 94
 
@@ -235,6 +243,9 @@  discard block
 block discarded – undo
235 243
      return(TRUE);
236 244
     }
237 245
 
246
+   /**
247
+    * @param string $Destination
248
+    */
238 249
    function saveFromCache($ID,$Destination)
239 250
     {
240 251
      /* Get the raw picture from the cache */
Please login to merge, or discard this patch.