Skip to content

Commit c2b8e8f

Browse files
committed
Fix TravisCI errors (#33 - #35)
1 parent 99c0c9a commit c2b8e8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PhpPowerpoint/Writer/ODPresentation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function save($pFilename)
163163

164164
// Add charts
165165
foreach ($this->chartArray as $keyChart => $shapeChart) {
166-
$arrayFile = $this->getWriterPart('charts')->writePart(shapeChart);
166+
$arrayFile = $this->getWriterPart('charts')->writePart($shapeChart);
167167
foreach ($arrayFile as $file => $content) {
168168
if (!empty($content)) {
169169
$objZip->addFromString('Object '.$keyChart.'/' . $file, $content);

src/PhpPowerpoint/Writer/ODPresentation/ObjectsChart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ private function writeSeries(Chart $chart, Chart\Series $series)
519519
} elseif ($chartType instanceof Pie3D) {
520520
$count = $series->getDataPointFills();
521521
$inc = 0;
522-
for ($inc = 0 ; $inc < $count ; $inc++) {
522+
for ($inc = 0; $inc < $count; $inc++) {
523523
// chart:data-point
524524
$this->xmlContent->startElement('chart:data-point');
525525
$this->xmlContent->writeAttribute('chart:style-name', 'styleSeries'.$this->numSeries.'_'.$inc);

0 commit comments

Comments
 (0)