Skip to content

Commit 5ff47f4

Browse files
committed
QA: Misc. bugfixes and docblock improvements
1 parent e24c16f commit 5ff47f4

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

src/PhpWord/Style/Border.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Border extends AbstractStyle
8181
/**
8282
* Get border size
8383
*
84-
* @return int[]
84+
* @return integer[]
8585
*/
8686
public function getBorderSize()
8787
{

src/PhpWord/Style/Table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function setBgColor($value = null)
192192
/**
193193
* Get TLRBHV Border Size
194194
*
195-
* @return int[]
195+
* @return integer[]
196196
*/
197197
public function getBorderSize()
198198
{
@@ -430,7 +430,7 @@ public function setCellMarginBottom($value = null)
430430
/**
431431
* Get cell margin
432432
*
433-
* @return int[]
433+
* @return integer[]
434434
*/
435435
public function getCellMargin()
436436
{

src/PhpWord/Style/TextBox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function setInnerMargin($value = null)
162162
/**
163163
* Get cell margin
164164
*
165-
* @return int[]
165+
* @return integer[]
166166
*/
167167
public function getInnerMargin()
168168
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MarginBorder extends AbstractStyle
2929
/**
3030
* Sizes
3131
*
32-
* @var int[]
32+
* @var integer[]
3333
*/
3434
private $sizes = array();
3535

@@ -103,7 +103,7 @@ private function writeSide(XMLWriter $xmlWriter, $side, $width, $color = null)
103103
/**
104104
* Set sizes
105105
*
106-
* @param int[] $value
106+
* @param integer[] $value
107107
*/
108108
public function setSizes($value)
109109
{

tests/PhpWord/Tests/Writer/ODText/Part/ContentTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public function testWriteContent()
5050
$phpWord->setDefaultFontName('Verdana');
5151
$phpWord->addFontStyle('Font', array('size' => 11));
5252
$phpWord->addParagraphStyle('Paragraph', array('align' => 'center'));
53+
$phpWord->addTableStyle('tblStyle', array('width' => 100));
5354

5455
$section = $phpWord->addSection(array('colsNum' => 2));
5556
$section->addText($expected);

0 commit comments

Comments
 (0)