Skip to content

Commit 38ea5ec

Browse files
committed
fix wrong variable
1 parent e07195c commit 38ea5ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpWord/Style/Spacing.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function setLineRule($value = null)
167167
*/
168168
public function getRule()
169169
{
170-
return $this->rule;
170+
return $this->lineRule;
171171
}
172172

173173
/**
@@ -180,7 +180,7 @@ public function getRule()
180180
*/
181181
public function setRule($value = null)
182182
{
183-
$this->rule = value;
183+
$this->lineRule = $value;
184184

185185
return $this;
186186
}

0 commit comments

Comments
 (0)