@@ -203,7 +203,7 @@ |
||
203 | 203 | * Checks the type of a given data attribute and formats it if needed. |
204 | 204 | * |
205 | 205 | * @param mixed $value |
206 | - * @return array |
|
206 | + * @return string |
|
207 | 207 | */ |
208 | 208 | protected function formatValue($value) |
209 | 209 | { |
@@ -13,7 +13,6 @@ discard block |
||
13 | 13 | |
14 | 14 | namespace Romm\Formz\Service\ViewHelper\Form; |
15 | 15 | |
16 | -use DateTime; |
|
17 | 16 | use Romm\Formz\AssetHandler\Html\DataAttributesAssetHandler; |
18 | 17 | use Romm\Formz\Behaviours\BehavioursManager; |
19 | 18 | use Romm\Formz\Core\Core; |
@@ -23,7 +22,6 @@ discard block |
||
23 | 22 | use Romm\Formz\Form\FormObject\FormObject; |
24 | 23 | use Romm\Formz\Validation\Validator\Form\AbstractFormValidator; |
25 | 24 | use Romm\Formz\Validation\Validator\Form\DefaultFormValidator; |
26 | -use Traversable; |
|
27 | 25 | use TYPO3\CMS\Core\SingletonInterface; |
28 | 26 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
29 | 27 | use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; |