From a935cbfff9f920311981ed22fa7589a108e9ebf3 Mon Sep 17 00:00:00 2001 From: Mike van Riel Date: Sun, 30 Sep 2012 14:26:28 +0200 Subject: [PATCH] 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. --- src/phpDocumentor/Reflection/DocBlock/LongDescription.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phpDocumentor/Reflection/DocBlock/LongDescription.php b/src/phpDocumentor/Reflection/DocBlock/LongDescription.php index df45fe3..37131dc 100644 --- a/src/phpDocumentor/Reflection/DocBlock/LongDescription.php +++ b/src/phpDocumentor/Reflection/DocBlock/LongDescription.php @@ -2,7 +2,7 @@ /** * phpDocumentor * - * PHP Version 5 + * PHP Version 5.3 * * @author Mike van Riel * @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com) @@ -24,7 +24,7 @@ class LongDescription implements \Reflector /** @var string */ protected $contents = ''; - /** @var \phpDocumentor\Reflection\DocBlock\Tags[] */ + /** @var Tag[] */ protected $tags = array(); /**