@@ -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) |
@@ -1182,7 +1182,7 @@ |
||
1182 | 1182 | * @param Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet |
1183 | 1183 | * @param array $pValues Array containing cells in a row |
1184 | 1184 | * @param int $pRow Row number (0-based) |
1185 | - * @param mixed $cellType eg: 'td' |
|
1185 | + * @param string $cellType eg: 'td' |
|
1186 | 1186 | * |
1187 | 1187 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
1188 | 1188 | * |
@@ -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 |