Skip to content

Commit 4a7affe

Browse files
committed
Minor doc fix at Serializer.php.
1 parent b7797b4 commit 4a7affe

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/phpDocumentor/Reflection/DocBlock/Serializer.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,18 @@ class Serializer
3333
/** @var bool Whether to indent the first line. */
3434
protected $isFirstLineIndented = true;
3535

36-
/** @var int The max length of a line. */
36+
/** @var int|null The max length of a line. */
3737
protected $lineLength = null;
3838

3939
/**
4040
* Create a Serializer instance.
4141
*
42-
* @param int $indent The number of times the indent string is
42+
* @param int $indent The number of times the indent string is
4343
* repeated.
44-
* @param string $indentString The string to indent the comment with.
45-
* @param bool $indentFirstLine Whether to indent the first line.
46-
* @param int $lineLength The max length of a line.
44+
* @param string $indentString The string to indent the comment with.
45+
* @param bool $indentFirstLine Whether to indent the first line.
46+
* @param int|null $lineLength The max length of a line or NULL to
47+
* disable line wrapping.
4748
*/
4849
public function __construct(
4950
$indent = 0,
@@ -135,7 +136,7 @@ public function isFirstLineIndented()
135136
* Sets the length of each line in the serialization. Content will be
136137
* wrapped within this limit.
137138
*
138-
* @param int $lineLength The length of each line. NULL to disable line
139+
* @param int|null $lineLength The length of each line. NULL to disable line
139140
* wrapping altogether.
140141
*
141142
* @return $this This serializer object.
@@ -149,7 +150,8 @@ public function setLineLength($lineLength)
149150
/**
150151
* Gets the line length.
151152
*
152-
* @return int The length of each line or NULL if line wrapping is disabled.
153+
* @return int|null The length of each line or NULL if line wrapping is
154+
* disabled.
153155
*/
154156
public function getLineLength()
155157
{

0 commit comments

Comments
 (0)