Completed
Push — master ( 3cea84...e77baf )
by Rain
01:32
created
plugins/_depricated/convert-headers-styles/CssToInlineStyles.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -658,7 +658,6 @@
 block discarded – undo
658 658
      * If this is enabled the class will remove all style tags in the HTML.
659 659
      *
660 660
      * @return void
661
-     * @param  bool[optional] $onShould we process inline styles?
662 661
      */
663 662
     public function setStripOriginalStyleTags($on = true)
664 663
     {
Please login to merge, or discard this patch.
plugins/_depricated/recaptcha/recaptchalib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -215,6 +215,9 @@  discard block
 block discarded – undo
215 215
 
216 216
 /* Mailhide related code */
217 217
 
218
+/**
219
+ * @param string $ky
220
+ */
218 221
 function _recaptcha_aes_encrypt($val,$ky) {
219 222
 	if (! function_exists ("mcrypt_encrypt")) {
220 223
 		die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
@@ -226,6 +229,9 @@  discard block
 block discarded – undo
226 229
 }
227 230
 
228 231
 
232
+/**
233
+ * @param null|string $x
234
+ */
229 235
 function _recaptcha_mailhide_urlbase64 ($x) {
230 236
 	return strtr(base64_encode ($x), '+/', '-_');
231 237
 }
Please login to merge, or discard this patch.
plugins/cpanel-change-password/xmlapi.php 1 patch
Doc Comments   +14 added lines, -4 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
     * the queries made, the response XML/JSON and other such pertinent information.
278 278
     * Calling this function without any parameters will enable debug mode.
279 279
     *
280
-    * @param bool $debug turn on or off debug mode
280
+    * @param integer $debug turn on or off debug mode
281 281
     * @see get_debug()
282 282
     */
283 283
     public function set_debug( $debug = 1 )
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     * Get the port to connect to
314 314
     *
315 315
     * This will return which port the class is connecting to
316
-    * @return int $port
316
+    * @return string $port
317 317
     * @see set_port()
318 318
     */
319 319
     public function get_port()
@@ -584,6 +584,7 @@  discard block
 block discarded – undo
584 584
     * it will switch to curl
585 585
     *
586 586
      * @param string client The http client to use
587
+     * @param string $client
587 588
     * @see get_http_client()
588 589
     */
589 590
 
@@ -751,6 +752,11 @@  discard block
 block discarded – undo
751 752
         return $response;
752 753
     }
753 754
 
755
+    /**
756
+     * @param string $url
757
+     * @param string $postdata
758
+     * @param string $authstr
759
+     */
754 760
     private function curl_query( $url, $postdata, $authstr )
755 761
     {
756 762
         $curl = curl_init();
@@ -782,6 +788,11 @@  discard block
 block discarded – undo
782 788
         return $result;
783 789
     }
784 790
 
791
+    /**
792
+     * @param string $url
793
+     * @param string $postdata
794
+     * @param string $authstr
795
+     */
785 796
     private function fopen_query( $url, $postdata, $authstr )
786 797
     {
787 798
         if ( !(ini_get('allow_url_fopen') ) ) {
@@ -895,7 +906,7 @@  discard block
 block discarded – undo
895 906
     * @param string $module The module of the API2 call to use
896 907
     * @param string $function The function of the API2 call
897 908
     * @param array $args An associative array containing the arguments for the API2 call
898
-    * @return mixed
909
+    * @return string
899 910
     * @link http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/CallingAPIFunctions XML API Call documentation
900 911
     * @link http://docs.cpanel.net/twiki/bin/view/DeveloperResources/ApiRef/WebHome API1 & API2 Call documentation
901 912
     * @link http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/ApiTwo Legacy API2 Documentation
@@ -2111,7 +2122,6 @@  discard block
 block discarded – undo
2111 2122
     * @param string $nameserver1 The IP of the first nameserver to use
2112 2123
     * @param string $nameserver2 The IP of the second namesever to use
2113 2124
     * @param string $nameserver3 The IP of the third nameserver to use
2114
-    * @param string $nameserver4 The IP of the forth nameserver to use
2115 2125
     * @return mixed
2116 2126
     * @link http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/SetResolvers XML API Call documentation
2117 2127
     */
Please login to merge, or discard this patch.
plugins/vpopmail-change-password/ChangePasswordVpopmailDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
 	/**
127 127
 	 * @param array $aDomains
128 128
 	 *
129
-	 * @return bool
129
+	 * @return ChangePasswordVpopmailDriver
130 130
 	 */
131 131
 	public function SetAllowedDomains($aDomains)
132 132
 	{
Please login to merge, or discard this patch.
plugins/froxlor-change-password/FroxlorChangePasswordDriver.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -255,12 +255,10 @@
 block discarded – undo
255 255
 	 * additionally it updates the hash if the system settings changed
256 256
 	 * or if the very old md5() sum is used
257 257
 	 *
258
-	 * @param array $userinfo user-data from table
259 258
 	 * @param string $password the password to validate
260
-	 * @param string $table either panel_customers or panel_admins
261
-	 * @param string $uid user-id-field in $table
259
+	 * @param string $pwd_hash
262 260
 	 *
263
-	 * @return boolean
261
+	 * @return string
264 262
 	 */
265 263
 	private function validatePasswordLogin($pwd_hash, $password = null) {
266 264
 
Please login to merge, or discard this patch.
plugins/ldap-contacts-suggestions/LdapContactsSuggestions.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,6 +66,7 @@  discard block
 block discarded – undo
66 66
 	 * @param string $sObjectClass
67 67
 	 * @param string $sNameField
68 68
 	 * @param string $sEmailField
69
+	 * @param string $sUidField
69 70
 	 *
70 71
 	 * @return \LdapContactsSuggestions
71 72
 	 */
@@ -132,7 +133,7 @@  discard block
 block discarded – undo
132 133
 	 * @param array $aEmailFields
133 134
 	 * @param array $aNameFields
134 135
 	 *
135
-	 * @return array
136
+	 * @return string[]
136 137
 	 */
137 138
 	private function findNameAndEmail($aLdapItem, $aEmailFields, $aNameFields, $aUidFields)
138 139
 	{
Please login to merge, or discard this patch.