Namespace updates

This commit is contained in:
Ivan Lanin 2014-03-30 23:04:48 +07:00
parent 13b6092124
commit 99c25c3abc
3 changed files with 11 additions and 11 deletions

View File

@ -27,16 +27,16 @@ class PreserveText
/**
* Text style
*
* @var \PhpOffice\PhpWord\Style\Font
* @var string|Font
*/
private $_styleFont;
/**
* Paragraph style
*
* @var \PhpOffice\PhpWord\Style\Paragraph
* @var Paragraph
*/
private $_styleParagraph;
private string|$_styleParagraph;
/**
@ -45,7 +45,7 @@ class PreserveText
* @param string $text
* @param mixed $styleFont
* @param mixed $styleParagraph
* @return PHPWord_Section_Footer_PreserveText
* @return $this
*/
public function __construct($text = null, $styleFont = null, $styleParagraph = null)
{
@ -88,7 +88,7 @@ class PreserveText
/**
* Get Text style
*
* @return \PhpOffice\PhpWord\Style\Font
* @return string|Font
*/
public function getFontStyle()
{
@ -98,7 +98,7 @@ class PreserveText
/**
* Get Paragraph style
*
* @return \PhpOffice\PhpWord\Style\Paragraph
* @return string|Paragraph
*/
public function getParagraphStyle()
{

View File

@ -479,8 +479,8 @@ class Font
/**
* Set background color
*
* @param string $pValue
* @return PHPWord_Style_Font
* @param string $pValue
* @return $this
*/
public function setBgColor($pValue = null)
{

View File

@ -57,7 +57,7 @@ class Row
* Set tblHeader
*
* @param boolean $pValue
* @return PHPWord_Style_Row
* @return $this
*/
public function setTblHeader($pValue = false)
{
@ -82,7 +82,7 @@ class Row
* Set cantSplit
*
* @param boolean $pValue
* @return PHPWord_Style_Row
* @return $this
*/
public function setCantSplit($pValue = false)
{
@ -107,7 +107,7 @@ class Row
* Set exactHeight
*
* @param bool $pValue
* @return PHPWord_Style_Row
* @return $this
*/
public function setExactHeight($pValue = false)
{