@@ -2215,6 +2215,10 @@ discard block |
||
2215 | 2215 | // Description : |
2216 | 2216 | // Parameters : |
2217 | 2217 | // -------------------------------------------------------------------------------- |
2218 | + |
|
2219 | + /** |
|
2220 | + * @param string $p_mode |
|
2221 | + */ |
|
2218 | 2222 | public function privOpenFd($p_mode) |
2219 | 2223 | { |
2220 | 2224 | $v_result = 1; |
@@ -3815,6 +3819,10 @@ discard block |
||
3815 | 3819 | // Parameters : |
3816 | 3820 | // Return Values : |
3817 | 3821 | // -------------------------------------------------------------------------------- |
3822 | + |
|
3823 | + /** |
|
3824 | + * @param string $p_string |
|
3825 | + */ |
|
3818 | 3826 | public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options) |
3819 | 3827 | { |
3820 | 3828 | $v_result = 1; |
@@ -316,6 +316,10 @@ |
||
316 | 316 | return $this->yBestFitValues; |
317 | 317 | } |
318 | 318 | |
319 | + /** |
|
320 | + * @param double $sumY2 |
|
321 | + * @param boolean $const |
|
322 | + */ |
|
319 | 323 | protected function calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const) |
320 | 324 | { |
321 | 325 | $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * Find if given fileName exist in archive (Emulate ZipArchive locateName()) |
99 | 99 | * |
100 | 100 | * @param string $fileName Filename for the file in zip archive |
101 | - * @return bool |
|
101 | + * @return integer |
|
102 | 102 | */ |
103 | 103 | public function locateName($fileName) |
104 | 104 | { |
@@ -166,7 +166,7 @@ |
||
166 | 166 | * |
167 | 167 | * @param int $offset byte offset |
168 | 168 | * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END |
169 | - * @return bool |
|
169 | + * @return boolean|null |
|
170 | 170 | */ |
171 | 171 | public function stream_seek($offset, $whence) // @codingStandardsIgnoreLine |
172 | 172 | { |
@@ -147,7 +147,7 @@ |
||
147 | 147 | /** |
148 | 148 | * Get parent. Only used for style supervisor |
149 | 149 | * |
150 | - * @return Spreadsheet |
|
150 | + * @return Style |
|
151 | 151 | */ |
152 | 152 | public function getParent() |
153 | 153 | { |
@@ -584,7 +584,7 @@ discard block |
||
584 | 584 | * |
585 | 585 | * @param string $index Chart index position |
586 | 586 | * @throws Exception |
587 | - * @return false|Chart |
|
587 | + * @return null|Chart |
|
588 | 588 | */ |
589 | 589 | public function getChartByIndex($index = null) |
590 | 590 | { |
@@ -1085,7 +1085,7 @@ discard block |
||
1085 | 1085 | * Set a cell value |
1086 | 1086 | * |
1087 | 1087 | * @param string $pCoordinate Coordinate of the cell |
1088 | - * @param mixed $pValue Value of the cell |
|
1088 | + * @param integer $pValue Value of the cell |
|
1089 | 1089 | * @param bool $returnCell Return the worksheet (false, default) or the cell (true) |
1090 | 1090 | * @return Worksheet|Cell Depending on the last parameter being specified |
1091 | 1091 | */ |
@@ -1196,8 +1196,8 @@ discard block |
||
1196 | 1196 | /** |
1197 | 1197 | * Get cell at a specific coordinate by using numeric cell coordinates |
1198 | 1198 | * |
1199 | - * @param string $pColumn Numeric column coordinate of the cell |
|
1200 | - * @param string $pRow Numeric row coordinate of the cell |
|
1199 | + * @param integer $pColumn Numeric column coordinate of the cell |
|
1200 | + * @param integer $pRow Numeric row coordinate of the cell |
|
1201 | 1201 | * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't |
1202 | 1202 | * already exist, or a null should be returned instead |
1203 | 1203 | * @return null|Cell Cell that was found/created or null |
@@ -1305,8 +1305,8 @@ discard block |
||
1305 | 1305 | /** |
1306 | 1306 | * Cell at a specific coordinate by using numeric cell coordinates exists? |
1307 | 1307 | * |
1308 | - * @param string $pColumn Numeric column coordinate of the cell |
|
1309 | - * @param string $pRow Numeric row coordinate of the cell |
|
1308 | + * @param integer $pColumn Numeric column coordinate of the cell |
|
1309 | + * @param integer $pRow Numeric row coordinate of the cell |
|
1310 | 1310 | * @return bool |
1311 | 1311 | */ |
1312 | 1312 | public function cellExistsByColumnAndRow($pColumn = 0, $pRow = 1) |
@@ -1923,7 +1923,7 @@ discard block |
||
1923 | 1923 | /** |
1924 | 1924 | * Set AutoFilter |
1925 | 1925 | * |
1926 | - * @param Worksheet\AutoFilter|string $pValue |
|
1926 | + * @param string $pValue |
|
1927 | 1927 | * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility |
1928 | 1928 | * @throws Exception |
1929 | 1929 | * @return Worksheet |
@@ -2954,7 +2954,7 @@ discard block |
||
2954 | 2954 | * |
2955 | 2955 | * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore) |
2956 | 2956 | * @throws Exception |
2957 | - * @return objWorksheet |
|
2957 | + * @return Worksheet |
|
2958 | 2958 | */ |
2959 | 2959 | public function setCodeName($pValue = null) |
2960 | 2960 | { |
@@ -567,6 +567,11 @@ |
||
567 | 567 | return ['method' => 'filterTestInCustomDataSet', 'arguments' => ['filterRules' => $ruleValues, 'join' => AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND]]; |
568 | 568 | } |
569 | 569 | |
570 | + /** |
|
571 | + * @param integer $columnID |
|
572 | + * @param integer $startRow |
|
573 | + * @param string $ruleType |
|
574 | + */ |
|
570 | 575 | private function calculateTopTenValue($columnID, $startRow, $endRow, $ruleType, $ruleValue) |
571 | 576 | { |
572 | 577 | $range = $columnID . $startRow . ':' . $columnID . $endRow; |
@@ -101,7 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * Set Row Height |
103 | 103 | * |
104 | - * @param float $pValue |
|
104 | + * @param integer $pValue |
|
105 | 105 | * @return RowDimension |
106 | 106 | */ |
107 | 107 | public function setRowHeight($pValue = -1) |
@@ -412,6 +412,8 @@ discard block |
||
412 | 412 | * @param string $id1 |
413 | 413 | * @param string $id2 |
414 | 414 | * @param bool $isMultiLevelSeries |
415 | + * @param null|Axis $xAxis |
|
416 | + * @param null|Axis $yAxis |
|
415 | 417 | * |
416 | 418 | * @throws \PhpSpreadsheet\Writer\Exception |
417 | 419 | */ |
@@ -534,6 +536,10 @@ discard block |
||
534 | 536 | * @param string $id1 |
535 | 537 | * @param string $id2 |
536 | 538 | * @param bool $isMultiLevelSeries |
539 | + * @param null|Axis $xAxis |
|
540 | + * @param null|Axis $yAxis |
|
541 | + * @param null|GridLines $majorGridlines |
|
542 | + * @param null|GridLines $minorGridlines |
|
537 | 543 | * |
538 | 544 | * @throws \PhpSpreadsheet\Writer\Exception |
539 | 545 | */ |