Improved PHPDoc blocks

Added missing parameters, wrapped at 80 characters, added types.
This commit is contained in:
Christian Bläul
2017-11-03 20:25:56 +01:00
parent 4bae0d2bcf
commit b9cf7cb0c1

View File

@@ -806,12 +806,13 @@ class parseCSV {
* Create CSV data from array * Create CSV data from array
* *
* @access public * @access public
* @param data 2D array with data * @param array[] $data 2D array with data
* @param fields field names * @param array $fields field names
* @param append if true, field names will not be output * @param bool $append if true, field names will not be output
* @param is_php if a php die() call should be put on the first * @param bool $is_php if a php die() call should be put on the
* line of the file, this is later ignored when read. * first line of the file, this is later
* @param delimiter field delimiter to use * ignored when read.
* @param string|null $delimiter field delimiter to use
* *
* @return CSV data (text string) * @return CSV data (text string)
*/ */
@@ -1035,7 +1036,8 @@ class parseCSV {
* - only used by unparse() * - only used by unparse()
* *
* @access protected * @access protected
* @param value string to process * @param string $value Cell value to process
* @param string|null $delimiter
* *
* @return Processed value * @return Processed value
*/ */