mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Minor doc fix at Serializer.php.
This commit is contained in:
@@ -33,17 +33,18 @@ class Serializer
|
|||||||
/** @var bool Whether to indent the first line. */
|
/** @var bool Whether to indent the first line. */
|
||||||
protected $isFirstLineIndented = true;
|
protected $isFirstLineIndented = true;
|
||||||
|
|
||||||
/** @var int The max length of a line. */
|
/** @var int|null The max length of a line. */
|
||||||
protected $lineLength = null;
|
protected $lineLength = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a Serializer instance.
|
* Create a Serializer instance.
|
||||||
*
|
*
|
||||||
* @param int $indent The number of times the indent string is
|
* @param int $indent The number of times the indent string is
|
||||||
* repeated.
|
* repeated.
|
||||||
* @param string $indentString The string to indent the comment with.
|
* @param string $indentString The string to indent the comment with.
|
||||||
* @param bool $indentFirstLine Whether to indent the first line.
|
* @param bool $indentFirstLine Whether to indent the first line.
|
||||||
* @param int $lineLength The max length of a line.
|
* @param int|null $lineLength The max length of a line or NULL to
|
||||||
|
* disable line wrapping.
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
$indent = 0,
|
$indent = 0,
|
||||||
@@ -135,7 +136,7 @@ class Serializer
|
|||||||
* Sets the length of each line in the serialization. Content will be
|
* Sets the length of each line in the serialization. Content will be
|
||||||
* wrapped within this limit.
|
* wrapped within this limit.
|
||||||
*
|
*
|
||||||
* @param int $lineLength The length of each line. NULL to disable line
|
* @param int|null $lineLength The length of each line. NULL to disable line
|
||||||
* wrapping altogether.
|
* wrapping altogether.
|
||||||
*
|
*
|
||||||
* @return $this This serializer object.
|
* @return $this This serializer object.
|
||||||
@@ -149,7 +150,8 @@ class Serializer
|
|||||||
/**
|
/**
|
||||||
* Gets the line length.
|
* Gets the line length.
|
||||||
*
|
*
|
||||||
* @return int The length of each line or NULL if line wrapping is disabled.
|
* @return int|null The length of each line or NULL if line wrapping is
|
||||||
|
* disabled.
|
||||||
*/
|
*/
|
||||||
public function getLineLength()
|
public function getLineLength()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user