Skip to content

Commit 93ceb06

Browse files
committed
#269 : Axis Bounds in Chart (PHPCS Fixes)
1 parent 9a68458 commit 93ceb06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpPresentation/Writer/PowerPoint2007/PptCharts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,13 +1975,13 @@ protected function writeAxis(XMLWriter $objWriter, Chart\Axis $oAxis, $typeAxis,
19751975
$objWriter->writeAttribute('val', 'minMax');
19761976
$objWriter->endElement();
19771977

1978-
if($oAxis->getMaxBounds() != null) {
1978+
if ($oAxis->getMaxBounds() != null) {
19791979
$objWriter->startElement('c:max');
19801980
$objWriter->writeAttribute('val', $oAxis->getMaxBounds());
19811981
$objWriter->endElement();
19821982
}
19831983

1984-
if($oAxis->getMinBounds() != null) {
1984+
if ($oAxis->getMinBounds() != null) {
19851985
$objWriter->startElement('c:min');
19861986
$objWriter->writeAttribute('val', $oAxis->getMinBounds());
19871987
$objWriter->endElement();

0 commit comments

Comments
 (0)