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