Fix a few docblocks

This commit is contained in:
Adrien Crivelli 2018-02-12 12:09:35 +09:00
parent 8aef9d10a3
commit 349e4452e7
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 31 additions and 61 deletions

View File

@ -1611,14 +1611,10 @@ class Statistical
* *
* Returns values along a predicted emponential Trend * Returns values along a predicted emponential Trend
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param array of mixed Values of X for which we want to find Y * @param mixed[] $newValues Values of X for which we want to find Y
* @param bool a logical value specifying whether to force the intersect to equal 0 * @param bool $const a logical value specifying whether to force the intersect to equal 0
* @param mixed $yValues
* @param mixed $xValues
* @param mixed $newValues
* @param mixed $const
* *
* @return array of float * @return array of float
*/ */
@ -1735,10 +1731,8 @@ class Statistical
* *
* Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values. * Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param mixed $yValues
* @param mixed $xValues
* *
* @return float * @return float
*/ */
@ -1853,14 +1847,10 @@ class Statistical
* Calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data, * Calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data,
* and then returns an array that describes the line. * and then returns an array that describes the line.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param null|mixed[] $xValues Data Series X
* @param bool a logical value specifying whether to force the intersect to equal 0 * @param bool $const a logical value specifying whether to force the intersect to equal 0
* @param bool a logical value specifying whether to return additional regression statistics * @param bool $stats a logical value specifying whether to return additional regression statistics
* @param mixed $yValues
* @param null|mixed $xValues
* @param mixed $const
* @param mixed $stats
* *
* @return array * @return array
*/ */
@ -1916,14 +1906,10 @@ class Statistical
* Calculates an exponential curve that best fits the X and Y data series, * Calculates an exponential curve that best fits the X and Y data series,
* and then returns an array that describes the line. * and then returns an array that describes the line.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param null|mixed[] $xValues Data Series X
* @param bool a logical value specifying whether to force the intersect to equal 0 * @param bool $const a logical value specifying whether to force the intersect to equal 0
* @param bool a logical value specifying whether to return additional regression statistics * @param bool $stats a logical value specifying whether to return additional regression statistics
* @param mixed $yValues
* @param null|mixed $xValues
* @param mixed $const
* @param mixed $stats
* *
* @return array * @return array
*/ */
@ -2592,12 +2578,9 @@ class Statistical
* *
* Returns the rank of a value in a data set as a percentage of the data set. * Returns the rank of a value in a data set as a percentage of the data set.
* *
* @param array of number An array of, or a reference to, a list of numbers * @param float[] $valueSet An array of, or a reference to, a list of numbers
* @param number the number whose rank you want to find * @param int $value the number whose rank you want to find
* @param number the number of significant digits for the returned percentage value * @param int $significance the number of significant digits for the returned percentage value
* @param mixed $valueSet
* @param mixed $value
* @param mixed $significance
* *
* @return float * @return float
*/ */
@ -2747,12 +2730,9 @@ class Statistical
* *
* Returns the rank of a number in a list of numbers. * Returns the rank of a number in a list of numbers.
* *
* @param number the number whose rank you want to find * @param int $value the number whose rank you want to find
* @param array of number An array of, or a reference to, a list of numbers * @param float[] $valueSet An array of, or a reference to, a list of numbers
* @param mixed Order to sort the values in the value set * @param int $order Order to sort the values in the value set
* @param mixed $value
* @param mixed $valueSet
* @param mixed $order
* *
* @return float * @return float
*/ */
@ -2786,10 +2766,8 @@ class Statistical
* *
* Returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's. * Returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param mixed $yValues
* @param mixed $xValues
* *
* @return float * @return float
*/ */
@ -2856,10 +2834,8 @@ class Statistical
* *
* Returns the slope of the linear regression line through data points in known_y's and known_x's. * Returns the slope of the linear regression line through data points in known_y's and known_x's.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param mixed $yValues
* @param mixed $xValues
* *
* @return float * @return float
*/ */
@ -3160,10 +3136,8 @@ class Statistical
* *
* Returns the standard error of the predicted y-value for each x in the regression. * Returns the standard error of the predicted y-value for each x in the regression.
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param mixed $yValues
* @param mixed $xValues
* *
* @return float * @return float
*/ */
@ -3314,14 +3288,10 @@ class Statistical
* *
* Returns values along a linear Trend * Returns values along a linear Trend
* *
* @param array of mixed Data Series Y * @param mixed[] $yValues Data Series Y
* @param array of mixed Data Series X * @param mixed[] $xValues Data Series X
* @param array of mixed Values of X for which we want to find Y * @param mixed[] $newValues Values of X for which we want to find Y
* @param bool a logical value specifying whether to force the intersect to equal 0 * @param bool $const a logical value specifying whether to force the intersect to equal 0
* @param mixed $yValues
* @param mixed $xValues
* @param mixed $newValues
* @param mixed $const
* *
* @return array of float * @return array of float
*/ */

View File

@ -612,9 +612,9 @@ class Html extends BaseReader
* - Implement to other propertie, such as border * - Implement to other propertie, such as border
* *
* @param Worksheet $sheet * @param Worksheet $sheet
* @param array $attributeArray
* @param int $row * @param int $row
* @param string $column * @param string $column
* @param array $attributeArray
*/ */
private function applyInlineStyle(&$sheet, $row, $column, $attributeArray) private function applyInlineStyle(&$sheet, $row, $column, $attributeArray)
{ {