[BUGFIX] Strip trailing slash from parsed doc comment 58/48758/2
authorHelmut Hummel <info@helhum.io>
Tue, 28 Jun 2016 07:38:32 +0000 (09:38 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Thu, 30 Jun 2016 19:52:50 +0000 (21:52 +0200)
commit30328a5d6de233f6945bc6be862abb15a4a2a3eb
tree9d3ddc9c607ac095ac36529ab6bd5a0991dc7364
parente5e065badb99736984fbedb98de621fe5ae3995c
[BUGFIX] Strip trailing slash from parsed doc comment

If methods do not end with tag values (arguments or return statement)
the doc comment parser returned a slash as last line,
which is now stripped off.

Resolves: #76815
Releases: master, 7.6
Change-Id: I15d52104c190fbbf1e4ee5146595810f961ca3c7
Reviewed-on: https://review.typo3.org/48758
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/extbase/Classes/Reflection/DocCommentParser.php
typo3/sysext/extbase/Tests/Unit/Reflection/DocCommentParserTest.php [new file with mode: 0644]