Docblock fixes

This commit is contained in:
Ivan Lanin 2014-05-02 01:15:28 +07:00
parent 1d84c1db33
commit 9afa46105e
8 changed files with 14 additions and 11 deletions

View File

@ -10,7 +10,6 @@
namespace PhpOffice\PhpWord\Reader;
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\Settings;
use PhpOffice\PhpWord\Shared\XMLReader;
/**

View File

@ -18,12 +18,16 @@ class Settings
{
/**
* Zip libraries
*
* @const string
*/
const PCLZIP = 'PhpOffice\\PhpWord\\Shared\\ZipArchive';
const ZIPARCHIVE = 'ZipArchive';
/**
* PDF rendering libraries
*
* @const string
*/
const PDF_RENDERER_DOMPDF = 'DomPDF';

View File

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

View File

@ -55,7 +55,7 @@ class LineNumbering extends AbstractStyle
*
* @param array $style
*/
public function __construct($style = null)
public function __construct($style = array())
{
$this->setStyleByArray($style);
}

View File

@ -9,8 +9,6 @@
namespace PhpOffice\PhpWord\Style;
use PhpOffice\PhpWord\Shared\String;
/**
* Section settings
*/
@ -18,11 +16,16 @@ class Section extends Border
{
/**
* Page orientation
*
* @const string
*/
const ORIENTATION_PORTRAIT = 'portrait';
const ORIENTATION_LANDSCAPE = 'landscape';
/**
* Page default constants
*
* @const int|float
*/
const DEFAULT_WIDTH = 11906; // In twip
const DEFAULT_HEIGHT = 16838; // In twip

View File

@ -187,7 +187,7 @@ class Table extends Border
/**
* Get TLRBVH Border Size
*
* @return array
* @return int[]
*/
public function getBorderSize()
{
@ -218,7 +218,7 @@ class Table extends Border
/**
* Get TLRB Border Color
*
* @return array
* @return string[]
*/
public function getBorderColor()
{
@ -408,7 +408,7 @@ class Table extends Border
/**
* Get cell margin
*
* @return array
* @return int[]
*/
public function getCellMargin()
{

View File

@ -10,8 +10,6 @@
namespace PhpOffice\PhpWord\Writer\ODText\Element;
use PhpOffice\PhpWord\Element\Text as TextElement;
use PhpOffice\PhpWord\Element\Link as LinkElement;
use PhpOffice\PhpWord\Writer\ODText\Element\Element as ElementWriter;
/**
* TextRun element writer

View File

@ -10,7 +10,6 @@
namespace PhpOffice\PhpWord\Writer\Word2007\Part;
use PhpOffice\PhpWord\PhpWord;
use PhpOffice\PhpWord\Settings;
use PhpOffice\PhpWord\Element\AbstractElement;
use PhpOffice\PhpWord\Element\TextBreak;
use PhpOffice\PhpWord\Exception\Exception;