QA: Misc. bugfixes and docblock improvements

This commit is contained in:
Ivan Lanin 2014-05-24 11:11:12 +07:00
parent e24c16f14b
commit 5ff47f44e9
5 changed files with 7 additions and 6 deletions

View File

@ -81,7 +81,7 @@ class Border extends AbstractStyle
/**
* Get border size
*
* @return int[]
* @return integer[]
*/
public function getBorderSize()
{

View File

@ -192,7 +192,7 @@ class Table extends Border
/**
* Get TLRBHV Border Size
*
* @return int[]
* @return integer[]
*/
public function getBorderSize()
{
@ -430,7 +430,7 @@ class Table extends Border
/**
* Get cell margin
*
* @return int[]
* @return integer[]
*/
public function getCellMargin()
{

View File

@ -162,7 +162,7 @@ class TextBox extends Image
/**
* Get cell margin
*
* @return int[]
* @return integer[]
*/
public function getInnerMargin()
{

View File

@ -29,7 +29,7 @@ class MarginBorder extends AbstractStyle
/**
* Sizes
*
* @var int[]
* @var integer[]
*/
private $sizes = array();
@ -103,7 +103,7 @@ class MarginBorder extends AbstractStyle
/**
* Set sizes
*
* @param int[] $value
* @param integer[] $value
*/
public function setSizes($value)
{

View File

@ -50,6 +50,7 @@ class ContentTest extends \PHPUnit_Framework_TestCase
$phpWord->setDefaultFontName('Verdana');
$phpWord->addFontStyle('Font', array('size' => 11));
$phpWord->addParagraphStyle('Paragraph', array('align' => 'center'));
$phpWord->addTableStyle('tblStyle', array('width' => 100));
$section = $phpWord->addSection(array('colsNum' => 2));
$section->addText($expected);