From 4310426272dc76476a260fb558e86fd185e9e7c6 Mon Sep 17 00:00:00 2001 From: Wouter Wolters Date: Tue, 14 Feb 2017 21:08:46 +0100 Subject: [PATCH] [TASK] Streamline return tags in phpdocs The TYPO3 Core currently has no guidline how to handle phpdoc comments regarding @return annoations related to "void" and "null". In practice, these annotations have no additional value if no additional documentation is given. With this change, the php-cs-fixer will remove any unnecessary linebreaks within the comments above the @return annotation, as well as remove completely empty phpdoc comments because the @return annotation is removed. Please be aware, that once PSR-5 is accepted, this coding standard within the TYPO3 Core will change again, where there are currently some further proposal details like inheritance information. Resolves: #80454 Releases: master Change-Id: Ie969d720684c0a75919fe5addd1c36ef5b12eb04 Reviewed-on: https://review.typo3.org/51686 Reviewed-by: Nicole Cordes Tested-by: Nicole Cordes Reviewed-by: Benni Mack Tested-by: Benni Mack --- Classes/FrontendEditAssetLoader.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Classes/FrontendEditAssetLoader.php b/Classes/FrontendEditAssetLoader.php index 1d4a889..e88c11e 100644 --- a/Classes/FrontendEditAssetLoader.php +++ b/Classes/FrontendEditAssetLoader.php @@ -25,7 +25,6 @@ class FrontendEditAssetLoader { /** * @param EditDocumentController $controller - * @return void */ public function attachAssets(EditDocumentController $controller) {