Test Failed
Push — CI ( 02428e...3e0292 )
by Adam
55:43
created
include/nusoap/nusoap.php 1 patch
Doc Comments   +25 added lines, -23 removed lines patch added patch discarded remove patch
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
 	/**
553 553
 	* gets the current debug data for this instance
554 554
 	*
555
-	* @return   debug data
555
+	* @return   string data
556 556
 	* @access   public
557 557
 	*/
558 558
 	function &getDebug() {
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
 	* gets the current debug data for this instance as an XML comment
566 566
 	* this may change the contents of the debug data
567 567
 	*
568
-	* @return   debug data as an XML comment
568
+	* @return   string data as an XML comment
569 569
 	* @access   public
570 570
 	*/
571 571
 	function &getDebugAsXMLComment() {
@@ -596,7 +596,7 @@  discard block
 block discarded – undo
596 596
 	/**
597 597
 	* returns error string if present
598 598
 	*
599
-	* @return   mixed error string or false
599
+	* @return   string|false error string or false
600 600
 	* @access   public
601 601
 	*/
602 602
 	function getError(){
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
 	/**
610 610
 	* sets error string
611 611
 	*
612
-	* @return   boolean $string error string
612
+	* @return   boolean|null $string error string
613 613
 	* @access   private
614 614
 	*/
615 615
 	function setError($str){
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
     * returns false, if not prefixed
1046 1046
     *
1047 1047
     * @param string $str The prefixed string
1048
-    * @return mixed The prefix or false if there is no prefix
1048
+    * @return string|false The prefix or false if there is no prefix
1049 1049
     * @access public
1050 1050
     */
1051 1051
 	function getPrefix($str){
@@ -1076,7 +1076,7 @@  discard block
 block discarded – undo
1076 1076
     * or false if no prefixes registered for the given namespace
1077 1077
     *
1078 1078
     * @param string $ns The namespace
1079
-    * @return mixed The prefix, false if the namespace has no prefixes
1079
+    * @return string The prefix, false if the namespace has no prefixes
1080 1080
     * @access public
1081 1081
     */
1082 1082
 	function getPrefixFromNamespace($ns) {
@@ -1145,7 +1145,7 @@  discard block
 block discarded – undo
1145 1145
 *
1146 1146
 * @param    int $timestamp Unix time stamp
1147 1147
 * @param	boolean $utc Whether the time stamp is UTC or local
1148
-* @return	mixed ISO 8601 date string or false
1148
+* @return	string|false ISO 8601 date string or false
1149 1149
 * @access   public
1150 1150
 */
1151 1151
 function timestamp_to_iso8601($timestamp,$utc=true){
@@ -1484,7 +1484,7 @@  discard block
 block discarded – undo
1484 1484
     * @param string $faultcode (SOAP-ENV:Client | SOAP-ENV:Server)
1485 1485
     * @param string $faultactor only used when msg routed between multiple actors
1486 1486
     * @param string $faultstring human readable error message
1487
-    * @param mixed $faultdetail detail, typically a string or array of string
1487
+    * @param string $faultdetail detail, typically a string or array of string
1488 1488
 	*/
1489 1489
 	function nusoap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
1490 1490
 		parent::nusoap_base();
@@ -2527,7 +2527,7 @@  discard block
 block discarded – undo
2527 2527
     * returns a sample serialization of a given type, or false if no type by the given name
2528 2528
     *
2529 2529
     * @param string $type name of type
2530
-    * @return mixed
2530
+    * @return string|false
2531 2531
     * @access public
2532 2532
     * @deprecated
2533 2533
     */
@@ -2970,7 +2970,7 @@  discard block
 block discarded – undo
2970 2970
 	*
2971 2971
 	* @param    string $name optional name
2972 2972
 	* @param    mixed $type optional type name
2973
-	* @param	mixed $value optional value
2973
+	* @param	integer $value optional value
2974 2974
 	* @param	mixed $element_ns optional namespace of value
2975 2975
 	* @param	mixed $type_ns optional namespace of type
2976 2976
 	* @param	mixed $attributes associative array of attributes to add to element serialization
@@ -3381,10 +3381,6 @@  discard block
 block discarded – undo
3381 3381
 	/**
3382 3382
 	* establish an HTTP connection
3383 3383
 	*
3384
-	* @param    integer $timeout set connection timeout in seconds
3385
-	* @param	integer $response_timeout set response timeout in seconds
3386
-	* @return	boolean true if connected, false if not
3387
-	* @access   private
3388 3384
 	*/
3389 3385
 	function connect($connection_timeout=0,$response_timeout=30){
3390 3386
 	  	// For PHP 4.3 with OpenSSL, change https scheme to ssl, then treat like
@@ -3943,7 +3939,7 @@  discard block
 block discarded – undo
3943 3939
 	*
3944 3940
 	* @param    string $data message data
3945 3941
 	* @param	array $cookies cookies to send
3946
-	* @return	boolean	true if OK, false if problem
3942
+	* @return	boolean|null	true if OK, false if problem
3947 3943
 	* @access   private
3948 3944
 	*/
3949 3945
 	function sendRequest($data, $cookies = NULL) {
@@ -4378,7 +4374,7 @@  discard block
 block discarded – undo
4378 4374
 	 * sets the content-type for the SOAP message to be sent
4379 4375
 	 *
4380 4376
 	 * @param	string $type the content type, MIME style
4381
-	 * @param	mixed $charset character set used for encoding (or false)
4377
+	 * @param	string $charset character set used for encoding (or false)
4382 4378
 	 * @access	public
4383 4379
 	 */
4384 4380
 	function setContentType($type, $charset = false) {
@@ -4411,6 +4407,10 @@  discard block
 block discarded – undo
4411 4407
 	/*
4412 4408
 	 * TODO: allow a Set-Cookie string to be parsed into multiple cookies
4413 4409
 	 */
4410
+
4411
+	/**
4412
+	 * @param string $cookie_str
4413
+	 */
4414 4414
 	function parseCookie($cookie_str) {
4415 4415
 		$cookie_str = str_replace('; ', ';', $cookie_str) . ';';
4416 4416
 		$data = preg_split('/;/', $cookie_str);
@@ -5571,7 +5571,7 @@  discard block
 block discarded – undo
5571 5571
 	*
5572 5572
 	* @param	array	$headers	The HTTP headers
5573 5573
 	* @param	string	$data		unprocessed request data from client
5574
-	* @return	mixed	value of the message, decoded into a PHP type
5574
+	* @return	false|null	value of the message, decoded into a PHP type
5575 5575
 	* @access   private
5576 5576
 	*/
5577 5577
     function parseRequest($headers, $data) {
@@ -5678,7 +5678,7 @@  discard block
 block discarded – undo
5678 5678
 	* @param    string $name the name of the PHP function, class.method or class..method
5679 5679
 	* @param    array $in assoc array of input values: key = param name, value = param type
5680 5680
 	* @param    array $out assoc array of output values: key = param name, value = param type
5681
-	* @param	mixed $namespace the element namespace for the method or false
5681
+	* @param	string $namespace the element namespace for the method or false
5682 5682
 	* @param	mixed $soapaction the soapaction for the method or false
5683 5683
 	* @param	mixed $style optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically
5684 5684
 	* @param	mixed $use optional (encoded|literal) or false
@@ -5768,11 +5768,12 @@  discard block
 block discarded – undo
5768 5768
     * Acts as a flag to enable internal WSDL generation
5769 5769
     *
5770 5770
     * @param string $serviceName, name of the service
5771
-    * @param mixed $namespace optional 'tns' service namespace or false
5772
-    * @param mixed $endpoint optional URL of service endpoint or false
5771
+    * @param string $namespace optional 'tns' service namespace or false
5772
+    * @param string $endpoint optional URL of service endpoint or false
5773 5773
     * @param string $style optional (rpc|document) WSDL style (also specified by operation)
5774 5774
     * @param string $transport optional SOAP transport
5775 5775
     * @param mixed $schemaTargetNamespace optional 'types' targetNamespace for service schema or false
5776
+    * @param string $serviceName
5776 5777
     */
5777 5778
     function configureWSDL($serviceName,$namespace = false,$endpoint = false,$style='rpc', $transport = 'http://schemas.xmlsoap.org/soap/http', $schemaTargetNamespace = false)
5778 5779
     {
@@ -6937,7 +6938,7 @@  discard block
 block discarded – undo
6937 6938
 	/**
6938 6939
 	* serialize the parsed wsdl
6939 6940
 	*
6940
-	* @param mixed $debug whether to put debug=1 in endpoint URL
6941
+	* @param integer $debug whether to put debug=1 in endpoint URL
6941 6942
 	* @return string serialization of WSDL
6942 6943
 	* @access public
6943 6944
 	*/
@@ -7160,7 +7161,7 @@  discard block
 block discarded – undo
7160 7161
 	 * @param string $direction (input|output)
7161 7162
 	 * @param mixed $parameters parameter value(s)
7162 7163
 	 * @param string $bindingType (soap|soap12)
7163
-	 * @return mixed parameters serialized as XML or false on error (e.g. operation not found)
7164
+	 * @return false|string parameters serialized as XML or false on error (e.g. operation not found)
7164 7165
 	 * @access public
7165 7166
 	 */
7166 7167
 	function serializeRPCParameters($operation, $direction, $parameters, $bindingType = 'soap') {
@@ -7260,7 +7261,7 @@  discard block
 block discarded – undo
7260 7261
 	 * @param string $operation operation name
7261 7262
 	 * @param string $direction (input|output)
7262 7263
 	 * @param mixed $parameters parameter value(s)
7263
-	 * @return mixed parameters serialized as XML or false on error (e.g. operation not found)
7264
+	 * @return false|string parameters serialized as XML or false on error (e.g. operation not found)
7264 7265
 	 * @access public
7265 7266
 	 * @deprecated
7266 7267
 	 */
@@ -9804,6 +9805,7 @@  discard block
 block discarded – undo
9804 9805
 	/**
9805 9806
 	* dynamically creates proxy class code
9806 9807
 	*
9808
+	* @param integer $r
9807 9809
 	* @return   string PHP/NuSOAP code for the proxy class
9808 9810
 	* @access   private
9809 9811
 	*/
Please login to merge, or discard this patch.
include/nusoap/nusoapmime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -564,7 +564,7 @@
 block discarded – undo
564 564
 	*
565 565
 	* @param	array	$headers	The HTTP headers
566 566
 	* @param	string	$data		unprocessed request data from client
567
-	* @return	mixed	value of the message, decoded into a PHP type
567
+	* @return	false|null	value of the message, decoded into a PHP type
568 568
 	* @access   private
569 569
 	*/
570 570
     function parseRequest($headers, $data) {
Please login to merge, or discard this patch.
include/OutboundEmail/OutboundEmail.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 	 * override account.
135 135
 	 *
136 136
 	 * @param unknown_type $user_id
137
-	 * @return unknown
137
+	 * @return boolean
138 138
 	 */
139 139
 	function doesUserOverrideAccountRequireCredentials($user_id)
140 140
 	{
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
 	 * Retrieves a cascading mailer set
230 230
 	 * @param object user
231 231
 	 * @param string mailer_id
232
-	 * @return object
232
+	 * @return OutboundEmail
233 233
 	 */
234 234
 	function getUserMailerSettings(&$user, $mailer_id='', $ieId='') {
235 235
 		$mailer = '';
@@ -267,7 +267,6 @@  discard block
 block discarded – undo
267 267
 	 * their outbound account set to this object.
268 268
 	 *
269 269
 	 * @param SugarBean $user
270
-	 * @param string $outbound_id
271 270
 	 * @return array
272 271
 	 */
273 272
 	function getAssociatedInboundAccounts($user)
@@ -291,7 +290,7 @@  discard block
 block discarded – undo
291 290
 	 * Retrieves a cascading mailer set
292 291
 	 * @param object user
293 292
 	 * @param string mailer_id
294
-	 * @return object
293
+	 * @return OutboundEmail
295 294
 	 */
296 295
 	function getInboundMailerSettings($user, $mailer_id='', $ieId='') {
297 296
 		$mailer = '';
@@ -390,7 +389,7 @@  discard block
 block discarded – undo
390 389
 	/**
391 390
 	 * Populates this instance
392 391
 	 * @param string $id
393
-	 * @return object $this
392
+	 * @return OutboundEmail $this
394 393
 	 */
395 394
 	function retrieve($id) {
396 395
 		require_once('include/utils/encryption_utils.php');
@@ -428,7 +427,7 @@  discard block
 block discarded – undo
428 427
 	/**
429 428
 	 * Generate values for saving into outbound_emails table
430 429
 	 * @param array $keys
431
-	 * @return array
430
+	 * @return string
432 431
 	 */
433 432
 	protected function getValues(&$keys)
434 433
 	{
Please login to merge, or discard this patch.
include/parsecsv.lib.php 1 patch
Doc Comments   +15 added lines, -14 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	/**
189 189
 	 * Parse CSV file or string
190 190
 	 * @param   input   CSV file or string
191
-	 * @return  nothing
191
+	 * @return  boolean
192 192
 	 */
193 193
 	function parse ($input = null, $offset = null, $limit = null, $conditions = null) {
194 194
 		if ( $input === null ) $input = $this->file;
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 	 * @param   data     2D array with data
214 214
 	 * @param   append   append current data to end of target CSV if exists
215 215
 	 * @param   fields   field names
216
-	 * @return  true or false
216
+	 * @return  boolean or false
217 217
 	 */
218 218
 	function save ($file = null, $data = array(), $append = false, $fields = array()) {
219 219
 		if ( empty($file) ) $file = &$this->file;
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	 * @param   data        2D array with data
229 229
 	 * @param   fields      field names
230 230
 	 * @param   delimiter   delimiter used to separate data
231
-	 * @return  CSV data using delimiter of choice, or default
231
+	 * @return  string data using delimiter of choice, or default
232 232
 	 */
233 233
 	function output ($filename = null, $data = array(), $fields = array(), $delimiter = null) {
234 234
 		if ( empty($filename) ) $filename = $this->output_filename;
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 * @param   search_depth   number of rows to analyze
263 263
 	 * @param   preferred      preferred delimiter characters
264 264
 	 * @param   enclosure      enclosure character, default is double quote (").
265
-	 * @return  delimiter character
265
+	 * @return  string character
266 266
 	 */
267 267
 	function auto ($file = null, $parse = true, $search_depth = null, $preferred = null, $enclosure = null) {
268 268
 
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
 	 * @param   is_php      if a php die() call should be put on the first
508 508
 	 *                      line of the file, this is later ignored when read.
509 509
 	 * @param   delimiter   field delimiter to use
510
-	 * @return  CSV data (text string)
510
+	 * @return  string data (text string)
511 511
 	 */
512 512
 	function unparse ( $data = array(), $fields = array(), $append = false , $is_php = false, $delimiter = null) {
513 513
 		if ( !is_array($data) || empty($data) ) $data = &$this->data;
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
 	/**
542 542
 	 * Load local file or string
543 543
 	 * @param   input   local CSV file
544
-	 * @return  true or false
544
+	 * @return  boolean or false
545 545
 	 */
546 546
 	function load_data ($input = null) {
547 547
 		$data = null;
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
 	 * Validate a row against specified conditions
576 576
 	 * @param   row          array with values from a row
577 577
 	 * @param   conditions   specified conditions that the row must match
578
-	 * @return  true of false
578
+	 * @return  boolean of false
579 579
 	 */
580 580
 	function _validate_row_conditions ($row = array(), $conditions = null) {
581 581
 		if ( !empty($row) ) {
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
 	 * Validate a row against a single condition
606 606
 	 * @param   row          array with values from a row
607 607
 	 * @param   condition   specified condition that the row must match
608
-	 * @return  true of false
608
+	 * @return  string of false
609 609
 	 */
610 610
 	function _validate_row_condition ($row, $condition) {
611 611
 		$operators = array(
@@ -663,8 +663,8 @@  discard block
 block discarded – undo
663 663
 
664 664
 	/**
665 665
 	 * Validates if the row is within the offset or not if sorting is disabled
666
-	 * @param   current_row   the current row number being processed
667
-	 * @return  true of false
666
+	 * @param   current_row   integer current row number being processed
667
+	 * @return  boolean of false
668 668
 	 */
669 669
 	function _validate_offset ($current_row) {
670 670
 		if ( $this->sort_by === null && $this->offset !== null && $current_row < $this->offset ) return false;
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
 	 * Enclose values if needed
676 676
 	 *  - only used by unparse()
677 677
 	 * @param   value   string to process
678
-	 * @return  Processed value
678
+	 * @return  null|string value
679 679
 	 */
680 680
 	function _enclose_value ($value = null) {
681 681
 		if ( $value !== null && $value != '' ) {
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
 	/**
693 693
 	 * Check file data
694 694
 	 * @param   file   local filename
695
-	 * @return  true or false
695
+	 * @return  boolean or false
696 696
 	 */
697 697
 	function _check_data ($file = null) {
698 698
 		if ( empty($this->file_data) ) {
@@ -706,6 +706,7 @@  discard block
 block discarded – undo
706 706
 	/**
707 707
 	 * Check if passed info might be delimiter
708 708
 	 *  - only used by find_delimiter()
709
+	 * @param integer $depth
709 710
 	 * @return  special string used for delimiter selection, or false
710 711
 	 */
711 712
 	function _check_count ($char, $array, $depth, $preferred) {
@@ -737,7 +738,7 @@  discard block
 block discarded – undo
737 738
 	/**
738 739
 	 * Read local file
739 740
 	 * @param   file   local filename
740
-	 * @return  Data from file, or false on failure
741
+	 * @return  false|string from file, or false on failure
741 742
 	 */
742 743
 	function _rfile ($file = null) {
743 744
 		if ( is_readable($file) ) {
@@ -755,7 +756,7 @@  discard block
 block discarded – undo
755 756
 	 * @param   string   data to write to file
756 757
 	 * @param   mode     fopen() mode
757 758
 	 * @param   lock     flock() mode
758
-	 * @return  true or false
759
+	 * @return  boolean or false
759 760
 	 */
760 761
 	function _wfile ($file, $string = '', $mode = 'wb', $lock = 2) {
761 762
 		if ( $fp = fopen($file, $mode) ) {
Please login to merge, or discard this patch.
include/pclzip/pclzip.lib.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -2029,6 +2029,10 @@  discard block
 block discarded – undo
2029 2029
   // Description :
2030 2030
   // Parameters :
2031 2031
   // --------------------------------------------------------------------------------
2032
+
2033
+  /**
2034
+   * @param string $p_mode
2035
+   */
2032 2036
   function privOpenFd($p_mode)
2033 2037
   {
2034 2038
     //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privOpenFd", 'mode='.$p_mode);
@@ -4711,6 +4715,10 @@  discard block
 block discarded – undo
4711 4715
   // Parameters :
4712 4716
   // Return Values :
4713 4717
   // --------------------------------------------------------------------------------
4718
+
4719
+  /**
4720
+   * @param PclZip $p_archive_to_add
4721
+   */
4714 4722
   function privMerge(&$p_archive_to_add)
4715 4723
   {
4716 4724
     //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privMerge", "archive='".$p_archive_to_add->zipname."'");
@@ -5288,6 +5296,11 @@  discard block
 block discarded – undo
5288 5296
   //             3 : src & dest gzip
5289 5297
   // Return Values :
5290 5298
   // --------------------------------------------------------------------------------
5299
+
5300
+  /**
5301
+   * @param integer $p_src
5302
+   * @param integer $p_dest
5303
+   */
5291 5304
   function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0)
5292 5305
   {
5293 5306
     //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilCopyBlock", "size=$p_size, mode=$p_mode");
@@ -5360,6 +5373,11 @@  discard block
 block discarded – undo
5360 5373
   // Return Values :
5361 5374
   //   1 on success, 0 on failure.
5362 5375
   // --------------------------------------------------------------------------------
5376
+
5377
+  /**
5378
+   * @param string $p_src
5379
+   * @param string $p_dest
5380
+   */
5363 5381
   function PclZipUtilRename($p_src, $p_dest)
5364 5382
   {
5365 5383
     //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilRename", "source=$p_src, destination=$p_dest");
Please login to merge, or discard this patch.
include/Pear/XML_HTMLSax3/HTMLSax3.php 1 patch
Doc Comments   +13 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
     * Returns the next character from the XML document or void if at end
192 192
     * @access protected
193
-    * @return mixed
193
+    * @return string|null
194 194
     */
195 195
     function scanCharacter() {
196 196
         if ($this->position < $this->length) {
@@ -326,6 +326,7 @@  discard block
 block discarded – undo
326 326
     * parser options
327 327
     * @var XML_HTMLSax3 instance of user front end class
328 328
     * @access protected
329
+    * @param XML_HTMLSax3 $htmlsax
329 330
     */
330 331
     function XML_HTMLSax3_StateParser_Lt430(& $htmlsax) {
331 332
         parent::XML_HTMLSax3_StateParser($htmlsax);
@@ -390,6 +391,7 @@  discard block
 block discarded – undo
390 391
     * parser options
391 392
     * @var XML_HTMLSax3 instance of user front end class
392 393
     * @access protected
394
+    * @param XML_HTMLSax3 $htmlsax
393 395
     */
394 396
     function XML_HTMLSax3_StateParser_Gtet430(& $htmlsax) {
395 397
         parent::XML_HTMLSax3_StateParser($htmlsax);
@@ -499,9 +501,9 @@  discard block
 block discarded – undo
499 501
     /**
500 502
     * Sets the user defined handler object. Returns a PEAR Error
501 503
     * if supplied argument is not an object.
502
-    * @param object handler object containing SAX callback methods
504
+    * @param object XML_HTMLSax3_NullHandler object containing SAX callback methods
503 505
     * @access public
504
-    * @return mixed
506
+    * @return boolean|null
505 507
     */
506 508
     function set_object(&$object) {
507 509
         if ( is_object($object) ) {
@@ -537,8 +539,9 @@  discard block
 block discarded – undo
537 539
     * XML_OPTION_ENTITIES_PARSED and XML_OPTION_CASE_FOLDING
538 540
     * @param string name of parser option
539 541
     * @param int (optional) 1 to switch on, 0 for off
542
+    * @param string $name
540 543
     * @access public
541
-    * @return boolean
544
+    * @return boolean|null
542 545
     */
543 546
     function set_option($name, $value=1) {
544 547
         if ( array_key_exists($name,$this->state_parser->parser_options) ) {
@@ -559,6 +562,7 @@  discard block
 block discarded – undo
559 562
     * function myDataHander(& $parser,$data){}
560 563
     * </pre>
561 564
     * @param string name of method
565
+    * @param string $data_method
562 566
     * @access public
563 567
     * @return void
564 568
     * @see set_object
@@ -582,6 +586,8 @@  discard block
 block discarded – undo
582 586
     * </pre>
583 587
     * @param string name of open method
584 588
     * @param string name of close method
589
+    * @param string $opening_method
590
+    * @param string $closing_method
585 591
     * @access public
586 592
     * @return void
587 593
     * @see set_object
@@ -601,6 +607,7 @@  discard block
 block discarded – undo
601 607
     * function myPIHander(& $parser,$target, $data){}
602 608
     * </pre>
603 609
     * @param string name of method
610
+    * @param string $pi_method
604 611
     * @access public
605 612
     * @return void
606 613
     * @see set_object
@@ -619,6 +626,7 @@  discard block
 block discarded – undo
619 626
     * function myEscapeHander(& $parser, $data){}
620 627
     * </pre>
621 628
     * @param string name of method
629
+    * @param string $escape_method
622 630
     * @access public
623 631
     * @return void
624 632
     * @see set_object
@@ -636,6 +644,7 @@  discard block
 block discarded – undo
636 644
     * function myJaspHander(& $parser, $data){}
637 645
     * </pre>
638 646
     * @param string name of method
647
+    * @param string $jasp_method
639 648
     * @access public
640 649
     * @return void
641 650
     * @see set_object
Please login to merge, or discard this patch.
include/Pear/XML_HTMLSax3/HTMLSax3/Decorators.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@  discard block
 block discarded – undo
49 49
     * Constructs XML_HTMLSax3_Trim
50 50
     * @param object handler object being decorated
51 51
     * @param string original handler method
52
+    * @param string $orig_method
52 53
     * @access protected
53 54
     */
54 55
     function XML_HTMLSax3_Trim(&$orig_obj, $orig_method) {
@@ -97,6 +98,8 @@  discard block
 block discarded – undo
97 98
     * @param object handler object being decorated
98 99
     * @param string original open handler method
99 100
     * @param string original close handler method
101
+    * @param string $orig_open_method
102
+    * @param string $orig_close_method
100 103
     * @access protected
101 104
     */
102 105
     function XML_HTMLSax3_CaseFolding(&$orig_obj, $orig_open_method, $orig_close_method) {
@@ -147,6 +150,7 @@  discard block
 block discarded – undo
147 150
     * Constructs XML_HTMLSax3_LineFeed
148 151
     * @param object handler object being decorated
149 152
     * @param string original handler method
153
+    * @param string $orig_method
150 154
     * @access protected
151 155
     */
152 156
     function XML_HTMLSax3_LineFeed(&$orig_obj, $orig_method) {
@@ -189,6 +193,7 @@  discard block
 block discarded – undo
189 193
     * Constructs XML_HTMLSax3_Tab
190 194
     * @param object handler object being decorated
191 195
     * @param string original handler method
196
+    * @param string $orig_method
192 197
     * @access protected
193 198
     */
194 199
     function XML_HTMLSax3_Tab(&$orig_obj, $orig_method) {
@@ -232,6 +237,7 @@  discard block
 block discarded – undo
232 237
     * Constructs XML_HTMLSax3_Entities_Parsed
233 238
     * @param object handler object being decorated
234 239
     * @param string original handler method
240
+    * @param string $orig_method
235 241
     * @access protected
236 242
     */
237 243
     function XML_HTMLSax3_Entities_Parsed(&$orig_obj, $orig_method) {
@@ -256,6 +262,10 @@  discard block
 block discarded – undo
256 262
 * Compatibility with older PHP versions
257 263
 */
258 264
 if (version_compare(phpversion(), '4.3', '<') && !function_exists('html_entity_decode') ) {
265
+
266
+    /**
267
+     * @param integer $style
268
+     */
259 269
     function html_entity_decode($str, $style=ENT_NOQUOTES) {
260 270
         return strtr($str,
261 271
             array_flip(get_html_translation_table(HTML_ENTITIES,$style)));
@@ -284,6 +294,7 @@  discard block
 block discarded – undo
284 294
     * Constructs XML_HTMLSax3_Entities_Unparsed
285 295
     * @param object handler object being decorated
286 296
     * @param string original handler method
297
+    * @param string $orig_method
287 298
     * @access protected
288 299
     */
289 300
     function XML_HTMLSax3_Entities_Unparsed(&$orig_obj, $orig_method) {
@@ -327,6 +338,7 @@  discard block
 block discarded – undo
327 338
     * Constructs XML_HTMLSax3_Entities_Unparsed
328 339
     * @param object handler object being decorated
329 340
     * @param string original handler method
341
+    * @param string $orig_method
330 342
     * @access protected
331 343
     */
332 344
     function XML_HTMLSax3_Escape_Stripper(&$orig_obj, $orig_method) {
Please login to merge, or discard this patch.
include/Pear/XML_HTMLSax3/HTMLSax3/States.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 class XML_HTMLSax3_StartingState  {
46 46
     /**
47 47
     * @param XML_HTMLSax3_StateParser subclass
48
-    * @return constant XML_HTMLSAX3_STATE_TAG
48
+    * @return integer XML_HTMLSAX3_STATE_TAG
49 49
     * @access protected
50 50
     */
51 51
     function parse(&$context) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 class XML_HTMLSax3_TagState {
67 67
     /**
68 68
     * @param XML_HTMLSax3_StateParser subclass
69
-    * @return constant the next state to move into
69
+    * @return integer|null the next state to move into
70 70
     * @access protected
71 71
     */
72 72
     function parse(&$context) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 class XML_HTMLSax3_ClosingTagState {
98 98
     /**
99 99
     * @param XML_HTMLSax3_StateParser subclass
100
-    * @return constant XML_HTMLSAX3_STATE_START
100
+    * @return integer XML_HTMLSAX3_STATE_START
101 101
     * @access protected
102 102
     */
103 103
     function parse(&$context) {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
     /**
169 169
     * @param XML_HTMLSax3_StateParser subclass
170
-    * @return constant XML_HTMLSAX3_STATE_START
170
+    * @return integer XML_HTMLSAX3_STATE_START
171 171
     * @access protected
172 172
     */
173 173
     function parse(&$context) {
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 class XML_HTMLSax3_EscapeState {
206 206
     /**
207 207
     * @param XML_HTMLSax3_StateParser subclass
208
-    * @return constant XML_HTMLSAX3_STATE_START
208
+    * @return integer XML_HTMLSAX3_STATE_START
209 209
     * @access protected
210 210
     */
211 211
     function parse(&$context) {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 class XML_HTMLSax3_JaspState {
248 248
     /**
249 249
     * @param XML_HTMLSax3_StateParser subclass
250
-    * @return constant XML_HTMLSAX3_STATE_START
250
+    * @return integer XML_HTMLSAX3_STATE_START
251 251
     * @access protected
252 252
     */
253 253
     function parse(&$context) {
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 class XML_HTMLSax3_PiState {
270 270
     /**
271 271
     * @param XML_HTMLSax3_StateParser subclass
272
-    * @return constant XML_HTMLSAX3_STATE_START
272
+    * @return integer XML_HTMLSAX3_STATE_START
273 273
     * @access protected
274 274
     */
275 275
     function parse(&$context) {
Please login to merge, or discard this patch.
include/phpmailer/class.smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -954,7 +954,7 @@
 block discarded – undo
954 954
      * Send raw data to the server.
955 955
      * @param string $data The data to send
956 956
      * @access public
957
-     * @return integer|boolean The number of bytes sent to the server or false on error
957
+     * @return integer The number of bytes sent to the server or false on error
958 958
      */
959 959
     public function client_send($data)
960 960
     {
Please login to merge, or discard this patch.