Skip to content

Commit 54af93a

Browse files
author
Bas-Jan 't Jong
committed
Fixed some Travis build errors
1 parent 1580113 commit 54af93a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/PhpWord/Style/Line.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function setFlip($value = null)
117117
*
118118
* @return boolean
119119
*/
120-
public function getFlip()
120+
public function isFlip()
121121
{
122122
return $this->flip;
123123
}

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,17 @@ private function getElementStyle(LineStyle $style)
124124
$styles[$key] = $value . 'px';
125125
}
126126
}
127-
if ($style->getFlip()) {
127+
if ($style->isFlip()) {
128128
$styles['flip']='y';
129129
}
130130

131131
return $styles;
132132
}
133133

134+
/**
135+
* Write Line stroke
136+
*
137+
*/
134138
public function writeStroke()
135139
{
136140
$style = $this->getStyle();

0 commit comments

Comments
 (0)