@@ -410,8 +410,8 @@ discard block |
||
410 | 410 | * @param string $id1 |
411 | 411 | * @param string $id2 |
412 | 412 | * @param bool $isMultiLevelSeries |
413 | - * @param mixed $xAxis |
|
414 | - * @param mixed $yAxis |
|
413 | + * @param null|Axis $xAxis |
|
414 | + * @param null|Axis $yAxis |
|
415 | 415 | * |
416 | 416 | * @throws WriterException |
417 | 417 | */ |
@@ -533,10 +533,10 @@ discard block |
||
533 | 533 | * @param string $id1 |
534 | 534 | * @param string $id2 |
535 | 535 | * @param bool $isMultiLevelSeries |
536 | - * @param mixed $xAxis |
|
537 | - * @param mixed $yAxis |
|
538 | - * @param mixed $majorGridlines |
|
539 | - * @param mixed $minorGridlines |
|
536 | + * @param null|Axis $xAxis |
|
537 | + * @param null|Axis $yAxis |
|
538 | + * @param null|GridLines $majorGridlines |
|
539 | + * @param null|GridLines $minorGridlines |
|
540 | 540 | * |
541 | 541 | * @throws WriterException |
542 | 542 | */ |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Constructor. |
142 | 142 | * |
143 | - * @param Style The XF format |
|
143 | + * @param Style Style XF format |
|
144 | 144 | */ |
145 | 145 | public function __construct(Style $style) |
146 | 146 | { |
@@ -177,16 +177,25 @@ discard block |
||
177 | 177 | return fread($this->fileHandle, $blockSize); |
178 | 178 | } |
179 | 179 | |
180 | + /** |
|
181 | + * @param string $data |
|
182 | + */ |
|
180 | 183 | private static function startsWithTag($data) |
181 | 184 | { |
182 | 185 | return '<' === substr(trim($data), 0, 1); |
183 | 186 | } |
184 | 187 | |
188 | + /** |
|
189 | + * @param string $data |
|
190 | + */ |
|
185 | 191 | private static function endsWithTag($data) |
186 | 192 | { |
187 | 193 | return '>' === substr(trim($data), -1, 1); |
188 | 194 | } |
189 | 195 | |
196 | + /** |
|
197 | + * @param string $data |
|
198 | + */ |
|
190 | 199 | private static function containsTags($data) |
191 | 200 | { |
192 | 201 | return strlen($data) !== strlen(strip_tags($data)); |
@@ -260,6 +269,10 @@ discard block |
||
260 | 269 | return array_pop($this->nestedColumn); |
261 | 270 | } |
262 | 271 | |
272 | + /** |
|
273 | + * @param Worksheet $sheet |
|
274 | + * @param integer $row |
|
275 | + */ |
|
263 | 276 | protected function flushCell($sheet, $column, $row, &$cellContent) |
264 | 277 | { |
265 | 278 | if (is_string($cellContent)) { |
@@ -45,7 +45,6 @@ |
||
45 | 45 | /** |
46 | 46 | * Create a new row. |
47 | 47 | * |
48 | - * @param Worksheet $parent |
|
49 | 48 | * @param int $rowIndex |
50 | 49 | */ |
51 | 50 | public function __construct(Worksheet $worksheet = null, $rowIndex = 1) |
@@ -1072,7 +1072,6 @@ |
||
1072 | 1072 | * @param XMLWriter $objWriter XML Writer |
1073 | 1073 | * @param PhpspreadsheetWorksheet $pSheet Worksheet |
1074 | 1074 | * @param Cell $pCellAddress Cell Address |
1075 | - * @param string[] $pStringTable String table |
|
1076 | 1075 | * @param string[] $pFlippedStringTable String table (flipped), for faster index searching |
1077 | 1076 | * |
1078 | 1077 | * @throws WriterException |
@@ -243,7 +243,7 @@ |
||
243 | 243 | /** |
244 | 244 | * Solve A*X = B. |
245 | 245 | * |
246 | - * @param $B a Matrix with as many rows as A and any number of columns |
|
246 | + * @param Matrix $B a Matrix with as many rows as A and any number of columns |
|
247 | 247 | * |
248 | 248 | * @throws CalculationException illegalArgumentException Matrix row dimensions must agree |
249 | 249 | * @throws CalculationException runtimeException Matrix is singular |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Read the file. |
73 | 73 | * |
74 | - * @param $pFilename string Filename |
|
74 | + * @param string $pFilename string Filename |
|
75 | 75 | * |
76 | 76 | * @throws ReaderException |
77 | 77 | */ |
@@ -1188,7 +1188,7 @@ |
||
1188 | 1188 | * @param Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet |
1189 | 1189 | * @param array $pValues Array containing cells in a row |
1190 | 1190 | * @param int $pRow Row number (0-based) |
1191 | - * @param mixed $cellType eg: 'td' |
|
1191 | + * @param string $cellType eg: 'td' |
|
1192 | 1192 | * |
1193 | 1193 | * @throws WriterException |
1194 | 1194 | * |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * Get X-Position. |
238 | 238 | * |
239 | - * @return number |
|
239 | + * @return string |
|
240 | 240 | */ |
241 | 241 | public function getXPosition() |
242 | 242 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Get Y-Position. |
262 | 262 | * |
263 | - * @return number |
|
263 | + * @return string |
|
264 | 264 | */ |
265 | 265 | public function getYPosition() |
266 | 266 | { |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * Get Width. |
286 | 286 | * |
287 | - * @return number |
|
287 | + * @return string |
|
288 | 288 | */ |
289 | 289 | public function getWidth() |
290 | 290 | { |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * Get Height. |
310 | 310 | * |
311 | - * @return number |
|
311 | + * @return string |
|
312 | 312 | */ |
313 | 313 | public function getHeight() |
314 | 314 | { |