[BUGFIX] Strip trailing slash from parsed doc comment 00/48700/5
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:46:38 +0000 (21:46 +0200)
commitab9bb25907c160c2c3629f1df9b0625aa1f5f513
tree190fe3edbfe837346dc59924bf93a8dd8c7cde2b
parent4e4caae811610ad3580c00e2ead4fd5642fde911
[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/48700
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Bamboo TYPO3com <info@typo3.com>
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]