Skip to content
Snippets Groups Projects
Commit acc2cbf0 authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan Bürk
Browse files

[TASK] Avoid a pass-by-reference in DataHandler

There is no point calling addDefaultPermittedLanguageIfNotSet()
with $incomingFieldArray as reference. It is more easy to see
the method can change $incomingFieldArray when it simply
returns the updated array instead.

Resolves: #102173
Releases: main
Change-Id: If048cc438e53afca7a207200190689074963d2e2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81431


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent c5985480
Branches
Tags
No related merge requests found
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