Skip to content
Snippets Groups Projects
Commit 62decf09 authored by Torben Hansen's avatar Torben Hansen Committed by Benni Mack
Browse files

[TASK] Cleanup code in PSR-14 events

* Use constructor property promotion where appropriate
* Use typed properties
* Remove doc comments for functions with a PHP return type
  where applicable
* Remove doc comments for typed properties where applicable
* Remove doc comments for constructors where applicable
* Setters must return void

Applicable is, if a doc comment has only been used for type hinting
or if the property or function is self explaining.

Resolves: #96860
Releases: main
Change-Id: Ib6df59c913a6798f4ddf504bb3bb6f6becb901ac
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73457


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 608eca8f
Branches
Tags
No related merge requests found
Showing
with 84 additions and 307 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment