Skip to content

Commit 8b960c7

Browse files
committed
stylization code
1 parent 1ab93e7 commit 8b960c7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/PhpWord/Element/SDT.php

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ public function setListItems($value)
143143
}
144144

145145
/**
146+
* Get tag
147+
*
146148
* @return string
147149
*/
148150
public function getTag()
@@ -151,26 +153,38 @@ public function getTag()
151153
}
152154

153155
/**
156+
* Set tag
157+
*
154158
* @param string $tag
159+
* @return self
155160
*/
156161
public function setTag($tag)
157162
{
158163
$this->tag = $tag;
164+
165+
return $this;
159166
}
160167

161168
/**
162-
* @return mixed
169+
* Get alias
170+
*
171+
* @return string
163172
*/
164173
public function getAlias()
165174
{
166175
return $this->alias;
167176
}
168177

169178
/**
170-
* @param mixed $alias
179+
* Set alias
180+
*
181+
* @param string $alias
182+
* @return self
171183
*/
172184
public function setAlias($alias)
173185
{
174186
$this->alias = $alias;
187+
188+
return $this;
175189
}
176190
}

0 commit comments

Comments
 (0)