We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ba5a7 commit 13384f6Copy full SHA for 13384f6
src/PhpWord/Writer/HTML/Element/Table.php
@@ -52,7 +52,7 @@ public function write()
52
for ($j = 0; $j < $rowCellCount; $j++) {
53
$cellStyle = $rowCells[$j]->getStyle();
54
$cellBgColor = $cellStyle->getBgColor();
55
- $cellBgColor === 'auto' && $cellBgColor = null; // Fix deprecated warning for non-hexadecimal number
+ $cellBgColor === 'auto' && $cellBgColor = null; // auto cannot be parsed to hexadecimal number
56
$cellFgColor = null;
57
if ($cellBgColor) {
58
$red = hexdec(substr($cellBgColor, 0, 2));
0 commit comments