Skip to content

Commit cb74020

Browse files
committed
Fix TravisCI errors (#33 - #35)
1 parent 4fab92a commit cb74020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpPowerpoint/Writer/ODPresentation/ObjectsChart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private function writeSeries(Chart $chart, Chart\Series $series)
517517
// > chart:data-point
518518
$this->xmlContent->endElement();
519519
} elseif ($chartType instanceof Pie3D) {
520-
$count = $series->getDataPointFills();
520+
$count = count($series->getDataPointFills());
521521
$inc = 0;
522522
for ($inc = 0; $inc < $count; $inc++) {
523523
// chart:data-point

0 commit comments

Comments
 (0)