@@ -5118,7 +5118,7 @@ discard block |
||
5118 | 5118 | * is in one piece. |
5119 | 5119 | * Moves to next current position in data stream to start of next record different from a CONtINUE record. |
5120 | 5120 | * |
5121 | - * @return array |
|
5121 | + * @return integer|null |
|
5122 | 5122 | */ |
5123 | 5123 | private function getSplicedRecordData() |
5124 | 5124 | { |
@@ -5368,7 +5368,7 @@ discard block |
||
5368 | 5368 | * |
5369 | 5369 | * @throws Exception |
5370 | 5370 | * |
5371 | - * @return array |
|
5371 | + * @return string |
|
5372 | 5372 | */ |
5373 | 5373 | private function getNextToken($formulaData, $baseCell = 'A1') |
5374 | 5374 | { |
@@ -6945,7 +6945,7 @@ discard block |
||
6945 | 6945 | * |
6946 | 6946 | * @param string $subData |
6947 | 6947 | * |
6948 | - * @return array |
|
6948 | + * @return string |
|
6949 | 6949 | */ |
6950 | 6950 | private function readBIFF8CellRangeAddressList($subData) |
6951 | 6951 | { |
@@ -7060,7 +7060,7 @@ discard block |
||
7060 | 7060 | * |
7061 | 7061 | * @param string $arrayData |
7062 | 7062 | * |
7063 | - * @return array |
|
7063 | + * @return string |
|
7064 | 7064 | */ |
7065 | 7065 | private static function readBIFF8ConstantArray($arrayData) |
7066 | 7066 | { |
@@ -7099,7 +7099,7 @@ discard block |
||
7099 | 7099 | * |
7100 | 7100 | * @param string $valueData |
7101 | 7101 | * |
7102 | - * @return array |
|
7102 | + * @return string |
|
7103 | 7103 | */ |
7104 | 7104 | private static function readBIFF8Constant($valueData) |
7105 | 7105 | { |
@@ -187,6 +187,11 @@ |
||
187 | 187 | return $Y ^ ($X | (~$Z)); // Y XOR (X OR NOT Z) |
188 | 188 | } |
189 | 189 | |
190 | + /** |
|
191 | + * @param string[] $func |
|
192 | + * @param integer $s |
|
193 | + * @param integer $t |
|
194 | + */ |
|
190 | 195 | private static function step($func, &$A, $B, $C, $D, $M, $s, $t) |
191 | 196 | { |
192 | 197 | $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff; |
@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * Read the file. |
71 | 71 | * |
72 | - * @param $pFilename string Filename |
|
72 | + * @param string $pFilename string Filename |
|
73 | 73 | * |
74 | 74 | * @throws \PhpOffice\PhpSpreadsheet\Reader\Exception |
75 | 75 | */ |
@@ -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 | { |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | * |
506 | 506 | * @param mixed $token the token to convert |
507 | 507 | * |
508 | - * @return mixed the converted token on success |
|
508 | + * @return string the converted token on success |
|
509 | 509 | */ |
510 | 510 | private function convert($token) |
511 | 511 | { |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | * |
577 | 577 | * @param string $string a string for conversion to its ptg value |
578 | 578 | * |
579 | - * @return mixed the converted token on success |
|
579 | + * @return string the converted token on success |
|
580 | 580 | */ |
581 | 581 | private function convertString($string) |
582 | 582 | { |
@@ -654,7 +654,7 @@ discard block |
||
654 | 654 | * |
655 | 655 | * @param string $token an Excel range in the Sheet1!A1:A2 format |
656 | 656 | * |
657 | - * @return mixed the packed ptgArea3d token on success |
|
657 | + * @return string the packed ptgArea3d token on success |
|
658 | 658 | */ |
659 | 659 | private function convertRange3d($token) |
660 | 660 | { |
@@ -706,7 +706,7 @@ discard block |
||
706 | 706 | * |
707 | 707 | * @param string $cell An Excel cell reference |
708 | 708 | * |
709 | - * @return mixed the packed ptgRef3d token on success |
|
709 | + * @return string the packed ptgRef3d token on success |
|
710 | 710 | */ |
711 | 711 | private function convertRef3d($cell) |
712 | 712 | { |
@@ -805,7 +805,7 @@ discard block |
||
805 | 805 | * |
806 | 806 | * @param string $ext_ref The name of the external reference |
807 | 807 | * |
808 | - * @return mixed The reference index in packed() format on success |
|
808 | + * @return string The reference index in packed() format on success |
|
809 | 809 | */ |
810 | 810 | private function getRefIndex($ext_ref) |
811 | 811 | { |
@@ -896,7 +896,7 @@ discard block |
||
896 | 896 | * |
897 | 897 | * @param string $cell The Excel cell reference to be packed |
898 | 898 | * |
899 | - * @return array Array containing the row and column in packed() format |
|
899 | + * @return string[] Array containing the row and column in packed() format |
|
900 | 900 | */ |
901 | 901 | private function cellToPackedRowcol($cell) |
902 | 902 | { |
@@ -925,7 +925,7 @@ discard block |
||
925 | 925 | * |
926 | 926 | * @param string $range The Excel range to be packed |
927 | 927 | * |
928 | - * @return array Array containing (row1,col1,row2,col2) in packed() format |
|
928 | + * @return string[] Array containing (row1,col1,row2,col2) in packed() format |
|
929 | 929 | */ |
930 | 930 | private function rangeToPackedRange($range) |
931 | 931 | { |
@@ -1041,7 +1041,7 @@ discard block |
||
1041 | 1041 | /** |
1042 | 1042 | * Checks if it's a valid token. |
1043 | 1043 | * |
1044 | - * @param mixed $token the token to check |
|
1044 | + * @param string $token the token to check |
|
1045 | 1045 | * |
1046 | 1046 | * @return mixed The checked token or false on failure |
1047 | 1047 | */ |
@@ -1127,7 +1127,7 @@ discard block |
||
1127 | 1127 | * @param string $formula the formula to parse, without the initial equal |
1128 | 1128 | * sign (=) |
1129 | 1129 | * |
1130 | - * @return mixed true on success |
|
1130 | + * @return boolean true on success |
|
1131 | 1131 | */ |
1132 | 1132 | public function parse($formula) |
1133 | 1133 | { |
@@ -79,10 +79,10 @@ |
||
79 | 79 | /** |
80 | 80 | * Create a new DataSeriesValues object. |
81 | 81 | * |
82 | - * @param mixed $dataType |
|
82 | + * @param string $dataType |
|
83 | 83 | * @param string $dataSource |
84 | 84 | * @param null|mixed $formatCode |
85 | - * @param mixed $pointCount |
|
85 | + * @param integer $pointCount |
|
86 | 86 | * @param mixed $dataValues |
87 | 87 | * @param null|mixed $marker |
88 | 88 | */ |
@@ -158,7 +158,7 @@ |
||
158 | 158 | /** |
159 | 159 | * Get a list of all cell coordinates currently held in the collection. |
160 | 160 | * |
161 | - * @return string[] |
|
161 | + * @return integer[] |
|
162 | 162 | */ |
163 | 163 | public function getCoordinates() |
164 | 164 | { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | * Resolve a named range to a regular cell range. |
235 | 235 | * |
236 | 236 | * @param string $pNamedRange Named range |
237 | - * @param Worksheet|null $pSheet Scope. Use null for global scope |
|
237 | + * @param Worksheet $pSheet Scope. Use null for global scope |
|
238 | 238 | * |
239 | 239 | * @return NamedRange |
240 | 240 | */ |
@@ -472,7 +472,7 @@ |
||
472 | 472 | * |
473 | 473 | * @param int $pValue Sheet index |
474 | 474 | * |
475 | - * @return SYLK |
|
475 | + * @return Slk |
|
476 | 476 | */ |
477 | 477 | public function setSheetIndex($pValue) |
478 | 478 | { |