changed if statement due to error in codesniffer

This commit is contained in:
Frank Meyer 2015-07-21 15:11:34 +02:00
parent 3a251770e8
commit a6528471c2
1 changed files with 2 additions and 3 deletions

View File

@ -282,10 +282,9 @@ class Chart extends AbstractPart
$xmlWriter->writeElementBlock('c:delete', 'val', 0); $xmlWriter->writeElementBlock('c:delete', 'val', 0);
$xmlWriter->writeElementBlock('c:majorTickMark', 'val', 'none'); $xmlWriter->writeElementBlock('c:majorTickMark', 'val', 'none');
$xmlWriter->writeElementBlock('c:minorTickMark', 'val', 'none'); $xmlWriter->writeElementBlock('c:minorTickMark', 'val', 'none');
if($style->showAxisLabels()) { if ($style->showAxisLabels()) {
$xmlWriter->writeElementBlock('c:tickLblPos', 'val', 'nextTo'); $xmlWriter->writeElementBlock('c:tickLblPos', 'val', 'nextTo');
} } else {
else {
$xmlWriter->writeElementBlock('c:tickLblPos', 'val', 'none'); $xmlWriter->writeElementBlock('c:tickLblPos', 'val', 'none');
} }
$xmlWriter->writeElementBlock('c:crosses', 'val', 'autoZero'); $xmlWriter->writeElementBlock('c:crosses', 'val', 'autoZero');