diff --git a/typo3/sysext/form/Classes/Utility/TypoScriptToJsonConverter.php b/typo3/sysext/form/Classes/Utility/TypoScriptToJsonConverter.php index 32879d186503799c9be248e8b529bb66228a17ab..0c07ab26ff8fb1363397b4f74383c334dd06d033 100644 --- a/typo3/sysext/form/Classes/Utility/TypoScriptToJsonConverter.php +++ b/typo3/sysext/form/Classes/Utility/TypoScriptToJsonConverter.php @@ -64,7 +64,7 @@ class TypoScriptToJsonConverter * Convert TypoScript string to JSON * * @param array $typoscript TypoScript string containing all configuration for the form - * @return string The JSON for the form + * @return TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement|false The JSON for the form */ public function convert(array $typoscript) { diff --git a/typo3/sysext/form/Classes/View/Wizard/Element/FormWizardElement.php b/typo3/sysext/form/Classes/View/Wizard/Element/FormWizardElement.php index ceafa39215f3079b18b3dbda550c2752eb5e7155..71bbb088fcbe83fb89a826d5f3e82370f29b45af 100644 --- a/typo3/sysext/form/Classes/View/Wizard/Element/FormWizardElement.php +++ b/typo3/sysext/form/Classes/View/Wizard/Element/FormWizardElement.php @@ -81,7 +81,7 @@ class FormWizardElement extends AbstractFormElement * Read and convert the content record to JSON * * @see \TYPO3\CMS\Form\Domain\Repository\ContentRepository::getRecordAsJson - * @return string The JSON object if record exists, FALSE if not + * @return TYPO3\CMS\Form\Domain\Model\Json\FormJsonElement|false The JSON object if record exists, FALSE if not */ protected function getRecordAsJson() { @@ -143,7 +143,6 @@ class FormWizardElement extends AbstractFormElement */ protected function resultAddWizardSettingsJson(array $settings) { - $this->getRecordAsJson(); $recordJson = $this->getRecordAsJson(); $settings['Configuration'] = $recordJson; $settings['ajaxUrl'] = $this->getAjaxUrl();