Skip to content

Commit 0692a55

Browse files
DE TROOSTEMBERGH AntoineDE TROOSTEMBERGH Antoine
authored andcommitted
checkstyle fixes
1 parent afed126 commit 0692a55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PhpWord/Writer/Word2007/Part/Chart.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ private function writePlotArea(XMLWriter $xmlWriter)
188188
// Series
189189
$this->writeSeries($xmlWriter, isset($this->options['scatter']));
190190

191-
if(!isset($this->options['grouping']) OR $this->options['grouping'] != 'clustered'){
191+
// don't overlap if grouping is 'clustered'
192+
if (!isset($this->options['grouping']) || $this->options['grouping'] != 'clustered') {
192193
$xmlWriter->writeElementBlock('c:overlap', 'val', '100');
193194
}
194195

0 commit comments

Comments
 (0)