mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Removed redundant preg_split from SourceTag (mistakenly pasted from ReturnTag).
This commit is contained in:
@@ -45,7 +45,6 @@ class SourceTag extends Tag
|
|||||||
public function __construct($type, $content, DocBlock $docblock = null)
|
public function __construct($type, $content, DocBlock $docblock = null)
|
||||||
{
|
{
|
||||||
parent::__construct($type, $content, $docblock);
|
parent::__construct($type, $content, $docblock);
|
||||||
$content = preg_split('/[\ \t]+/u', $this->description, 2);
|
|
||||||
if (preg_match(
|
if (preg_match(
|
||||||
'/^([1-9]\d*)\s*(?:([1-9]\d*)\s+)?(.*)$/su',
|
'/^([1-9]\d*)\s*(?:([1-9]\d*)\s+)?(.*)$/su',
|
||||||
$this->description,
|
$this->description,
|
||||||
|
|||||||
Reference in New Issue
Block a user