@@ -5157,7 +5157,7 @@ discard block |
||
5157 | 5157 | * is in one piece. |
5158 | 5158 | * Moves to next current position in data stream to start of next record different from a CONtINUE record |
5159 | 5159 | * |
5160 | - * @return array |
|
5160 | + * @return integer|null |
|
5161 | 5161 | */ |
5162 | 5162 | private function getSplicedRecordData() |
5163 | 5163 | { |
@@ -5421,7 +5421,7 @@ discard block |
||
5421 | 5421 | * @param string $formulaData Formula data |
5422 | 5422 | * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas |
5423 | 5423 | * @throws Exception |
5424 | - * @return array |
|
5424 | + * @return string |
|
5425 | 5425 | */ |
5426 | 5426 | private function getNextToken($formulaData, $baseCell = 'A1') |
5427 | 5427 | { |
@@ -6989,7 +6989,7 @@ discard block |
||
6989 | 6989 | * section 2.5.15 |
6990 | 6990 | * |
6991 | 6991 | * @param string $subData |
6992 | - * @return array |
|
6992 | + * @return string |
|
6993 | 6993 | */ |
6994 | 6994 | private function readBIFF8CellRangeAddressList($subData) |
6995 | 6995 | { |
@@ -7100,7 +7100,7 @@ discard block |
||
7100 | 7100 | * section 2.5.8 |
7101 | 7101 | * |
7102 | 7102 | * @param string $arrayData |
7103 | - * @return array |
|
7103 | + * @return string |
|
7104 | 7104 | */ |
7105 | 7105 | private static function readBIFF8ConstantArray($arrayData) |
7106 | 7106 | { |
@@ -7138,7 +7138,7 @@ discard block |
||
7138 | 7138 | * returns e.g. array('value' => '5', 'size' => 9) |
7139 | 7139 | * |
7140 | 7140 | * @param string $valueData |
7141 | - * @return array |
|
7141 | + * @return string |
|
7142 | 7142 | */ |
7143 | 7143 | private static function readBIFF8Constant($valueData) |
7144 | 7144 | { |
@@ -190,6 +190,11 @@ |
||
190 | 190 | return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z) |
191 | 191 | } |
192 | 192 | |
193 | + /** |
|
194 | + * @param string[] $func |
|
195 | + * @param integer $s |
|
196 | + * @param integer $t |
|
197 | + */ |
|
193 | 198 | private static function step($func, &$A, $B, $C, $D, $M, $s, $t) |
194 | 199 | { |
195 | 200 | $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff; |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * |
120 | 120 | * @throws Exception |
121 | 121 | * |
122 | - * @return string |
|
122 | + * @return FormulaToken |
|
123 | 123 | */ |
124 | 124 | public function getToken($pId = 0) |
125 | 125 | { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @param int $pValue Value in pixels |
35 | 35 | * |
36 | - * @return int Value in EMU |
|
36 | + * @return double Value in EMU |
|
37 | 37 | */ |
38 | 38 | public static function pixelsToEMU($pValue = 0) |
39 | 39 | { |
@@ -387,7 +387,7 @@ |
||
387 | 387 | /** |
388 | 388 | * Get Contiguous |
389 | 389 | * |
390 | - * @return bool |
|
390 | + * @return integer |
|
391 | 391 | */ |
392 | 392 | public function getContiguous() |
393 | 393 | { |
@@ -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 | * @throws \PhpOffice\PhpSpreadsheet\Reader\Exception |
74 | 74 | */ |
75 | 75 | public function read($pFilename) |
@@ -80,9 +80,9 @@ |
||
80 | 80 | * Create a new DataSeriesValues object. |
81 | 81 | * |
82 | 82 | * @param string $dataSource |
83 | - * @param mixed $dataType |
|
83 | + * @param string $dataType |
|
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 | */ |
@@ -64,7 +64,7 @@ |
||
64 | 64 | /** |
65 | 65 | * Get Number of Plot Groups. |
66 | 66 | * |
67 | - * @return array of DataSeries |
|
67 | + * @return integer of DataSeries |
|
68 | 68 | */ |
69 | 69 | public function getPlotGroupCount() |
70 | 70 | { |
@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Create a new Theme. |
59 | 59 | * |
60 | - * @param mixed $themeName |
|
61 | - * @param mixed $colourSchemeName |
|
60 | + * @param string $themeName |
|
61 | + * @param string $colourSchemeName |
|
62 | 62 | * @param mixed $colourMap |
63 | 63 | */ |
64 | 64 | public function __construct($themeName, $colourSchemeName, $colourMap) |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * Get colour Map Value by Position. |
94 | 94 | * |
95 | - * @param mixed $index |
|
95 | + * @param integer $index |
|
96 | 96 | * |
97 | 97 | * @return string |
98 | 98 | */ |