Skip to content

Commit

Permalink
fix scrutinizer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tera911 committed Dec 13, 2020
1 parent 0cb525d commit 933f3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function readStyleRules($cfRules, $extLst)
$dataBar = new ConditionalDataBar();
//dataBar attribute
if (isset($cfRule->dataBar['showValue'])) {
$dataBar->setShowValue((string) $cfRule->dataBar['showValue']);
$dataBar->setShowValue((int) $cfRule->dataBar['showValue']);
}

//dataBar children
Expand Down

0 comments on commit 933f3b2

Please sign in to comment.