Skip to content
Snippets Groups Projects
Commit 3c138709 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Add return type hint to convertFlexFormContentToArray()

Resolves: #105233
Related: #105231
Releases: main
Change-Id: Ie8aa214eae6ebe42a4a9c81864e78c65bb1dd437
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86503


Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 47139396
Branches
No related merge requests found
......@@ -33,9 +33,8 @@ class FlexFormService implements SingletonInterface
* @param string $flexFormContent flexForm xml string
* @param string $languagePointer language pointer used in the flexForm
* @param string $valuePointer value pointer used in the flexForm
* @return array the processed array
*/
public function convertFlexFormContentToArray($flexFormContent, $languagePointer = 'lDEF', $valuePointer = 'vDEF')
public function convertFlexFormContentToArray($flexFormContent, $languagePointer = 'lDEF', $valuePointer = 'vDEF'): array
{
$settings = [];
$flexFormArray = GeneralUtility::xml2array($flexFormContent);
......
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