Skip to content

Commit 13384f6

Browse files
authored
update comment
1 parent 83ba5a7 commit 13384f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Writer/HTML/Element/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function write()
5252
for ($j = 0; $j < $rowCellCount; $j++) {
5353
$cellStyle = $rowCells[$j]->getStyle();
5454
$cellBgColor = $cellStyle->getBgColor();
55-
$cellBgColor === 'auto' && $cellBgColor = null; // Fix deprecated warning for non-hexadecimal number
55+
$cellBgColor === 'auto' && $cellBgColor = null; // auto cannot be parsed to hexadecimal number
5656
$cellFgColor = null;
5757
if ($cellBgColor) {
5858
$red = hexdec(substr($cellBgColor, 0, 2));

0 commit comments

Comments
 (0)