Skip to content

Commit 2c81d5f

Browse files
author
Roman Syroeshko
committed
Some phpdoc for #390.
1 parent 4445fd3 commit 2c81d5f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

src/PhpWord/Style/Section.php

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,22 @@ public function setLandscape()
275275
/**
276276
* Get Page Size Width
277277
*
278-
* @return int|float
278+
* @return int|float|null
279+
*
280+
* @since 0.12.0
279281
*/
280282
public function getPageSizeW()
281283
{
282284
return $this->pageSizeW;
283285
}
284286

287+
/**
288+
* @param int|float|null $value
289+
*
290+
* @return \PhpOffice\PhpWord\Style\Section
291+
*
292+
* @since 0.12.0
293+
*/
285294
public function setPageSizeW($value = null)
286295
{
287296
$this->pageSizeW = $this->setNumericVal($value, self::DEFAULT_WIDTH);
@@ -292,13 +301,22 @@ public function setPageSizeW($value = null)
292301
/**
293302
* Get Page Size Height
294303
*
295-
* @return int|float
304+
* @return int|float|null
305+
*
306+
* @since 0.12.0
296307
*/
297308
public function getPageSizeH()
298309
{
299310
return $this->pageSizeH;
300311
}
301312

313+
/**
314+
* @param int|float|null $value
315+
*
316+
* @return \PhpOffice\PhpWord\Style\Section
317+
*
318+
* @since 0.12.0
319+
*/
302320
public function setPageSizeH($value = null)
303321
{
304322
$this->pageSizeH = $this->setNumericVal($value, self::DEFAULT_HEIGHT);

0 commit comments

Comments
 (0)