Skip to content

Commit 0103787

Browse files
author
Bas-Jan 't Jong
committed
Second attempt to resolve Travis build errors
1 parent 54af93a commit 0103787

File tree

1 file changed

+2
-2
lines changed
  • src/PhpWord/Writer/Word2007/Style

1 file changed

+2
-2
lines changed

src/PhpWord/Writer/Word2007/Style/Line.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ public function write()
3636
if (!$style instanceof LineStyle) {
3737
return;
3838
}
39-
$this->writeStyle($style);
39+
$this->writeLineStyle($style);
4040
}
4141

4242
/**
4343
* Write style attribute
4444
*
4545
* Copied function from Image/writeStyle in order to override getElementStyle
4646
*/
47-
protected function writeStyle(ImageStyle $style)
47+
protected function writeLineStyle(LineStyle $style)
4848
{
4949
$xmlWriter = $this->getXmlWriter();
5050

0 commit comments

Comments
 (0)