@@ -137,7 +137,7 @@ discard block  | 
                                                    ||
| 137 | 137 | *  | 
                                                        
| 138 | 138 | * @param string $relativePath  | 
                                                        
| 139 | 139 | * @param callable $callback  | 
                                                        
| 140 | - * @return bool  | 
                                                        |
| 140 | + * @return null|false  | 
                                                        |
| 141 | 141 | * @throws FileCreationFailedException  | 
                                                        
| 142 | 142 | */  | 
                                                        
| 143 | 143 | public function createFileInTemporaryDirectory($relativePath, callable $callback)  | 
                                                        
@@ -175,7 +175,7 @@ discard block  | 
                                                    ||
| 175 | 175 | *  | 
                                                        
| 176 | 176 | * @param string $absolutePath  | 
                                                        
| 177 | 177 | * @param string $content  | 
                                                        
| 178 | - * @return bool  | 
                                                        |
| 178 | + * @return string|null  | 
                                                        |
| 179 | 179 | */  | 
                                                        
| 180 | 180 | protected function writeTemporaryFile($absolutePath, $content)  | 
                                                        
| 181 | 181 |      { | 
                                                        
@@ -154,7 +154,7 @@  | 
                                                    ||
| 154 | 154 | }  | 
                                                        
| 155 | 155 | |
| 156 | 156 | /**  | 
                                                        
| 157 | - * @return array  | 
                                                        |
| 157 | + * @return integer[]  | 
                                                        |
| 158 | 158 | */  | 
                                                        
| 159 | 159 | protected function getDeactivatedFields()  | 
                                                        
| 160 | 160 |      { | 
                                                        
@@ -124,7 +124,7 @@  | 
                                                    ||
| 124 | 124 | }  | 
                                                        
| 125 | 125 | |
| 126 | 126 | /**  | 
                                                        
| 127 | - * @return array  | 
                                                        |
| 127 | + * @return string[]  | 
                                                        |
| 128 | 128 | */  | 
                                                        
| 129 | 129 | public function __sleep()  | 
                                                        
| 130 | 130 |      { | 
                                                        
@@ -304,7 +304,7 @@  | 
                                                    ||
| 304 | 304 | * then forced to use reflection, please don't do this at home!  | 
                                                        
| 305 | 305 | *  | 
                                                        
| 306 | 306 | * @param string $type `partial` or `layout`  | 
                                                        
| 307 | - * @return array  | 
                                                        |
| 307 | + * @return string[]  | 
                                                        |
| 308 | 308 | *  | 
                                                        
| 309 | 309 | * @deprecated Must be removed when TYPO3 7.6 is not supported anymore!  | 
                                                        
| 310 | 310 | */  | 
                                                        
@@ -58,7 +58,6 @@  | 
                                                    ||
| 58 | 58 | * with the given values array.  | 
                                                        
| 59 | 59 | *  | 
                                                        
| 60 | 60 | * @param StepDefinition $stepDefinition  | 
                                                        
| 61 | - * @param array $formValues  | 
                                                        |
| 62 | 61 | */  | 
                                                        
| 63 | 62 | public function markStepAsValidated(StepDefinition $stepDefinition/*, array $formValues*/) // @todo tmp-delete?  | 
                                                        
| 64 | 63 |      { | 
                                                        
@@ -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;  |