Fix @return type/description seperation

Per issue phpDocumentor/phpDocumentor2#623 should a newline directly behind the type
of a multiline @return tag be interpreted correctly. Currently seperation occurs
on the first space or tab but this is not sufficient.
This commit is contained in:
Mike van Riel
2012-09-30 14:26:28 +02:00
parent 60ba10fad1
commit a935cbfff9
@@ -2,7 +2,7 @@
/** /**
* phpDocumentor * phpDocumentor
* *
* PHP Version 5 * PHP Version 5.3
* *
* @author Mike van Riel <[email protected]> * @author Mike van Riel <[email protected]>
* @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
@@ -24,7 +24,7 @@ class LongDescription implements \Reflector
/** @var string */ /** @var string */
protected $contents = ''; protected $contents = '';
/** @var \phpDocumentor\Reflection\DocBlock\Tags[] */ /** @var Tag[] */
protected $tags = array(); protected $tags = array();
/** /**