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

[TASK] Cleanup middlewares


This change cleans up middlewares by

* using constructor property promotion where possible
* strict types where possible
* Remove `@throws` annotations for exceptions never thrown
* Remove value in function call, if it equals the default

Resolves: #100090
Releases: main
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: I1f81a17f54a1b569cc3ef351cbbb601aa76355eb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78030


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent bb6207e2
Branches
Tags
No related merge requests found
Showing
with 24 additions and 95 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