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

View File

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

View File

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