Skip to content

Commit 9c1c544

Browse files
sergeizelenyitroosan
authored andcommitted
stylization code
1 parent 9ac9016 commit 9c1c544

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
@@ -142,6 +142,8 @@ public function setListItems($value)
142142
}
143143

144144
/**
145+
* Get tag
146+
*
145147
* @return string
146148
*/
147149
public function getTag()
@@ -150,26 +152,38 @@ public function getTag()
150152
}
151153

152154
/**
155+
* Set tag
156+
*
153157
* @param string $tag
158+
* @return self
154159
*/
155160
public function setTag($tag)
156161
{
157162
$this->tag = $tag;
163+
164+
return $this;
158165
}
159166

160167
/**
161-
* @return mixed
168+
* Get alias
169+
*
170+
* @return string
162171
*/
163172
public function getAlias()
164173
{
165174
return $this->alias;
166175
}
167176

168177
/**
169-
* @param mixed $alias
178+
* Set alias
179+
*
180+
* @param string $alias
181+
* @return self
170182
*/
171183
public function setAlias($alias)
172184
{
173185
$this->alias = $alias;
186+
187+
return $this;
174188
}
175189
}

0 commit comments

Comments
 (0)