@@ -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 | { |
@@ -13,18 +13,10 @@ |
||
13 | 13 | |
14 | 14 | namespace Romm\Formz\Middleware\Item\Step\Service; |
15 | 15 | |
16 | -use Romm\Formz\Core\Core; |
|
17 | -use Romm\Formz\Error\FormResult; |
|
18 | 16 | use Romm\Formz\Form\Definition\Step\Step\Step; |
19 | 17 | use Romm\Formz\Form\Definition\Step\Step\StepDefinition; |
20 | 18 | use Romm\Formz\Form\FormObject\FormObject; |
21 | 19 | use Romm\Formz\Form\FormObject\Service\Step\FormStepPersistence; |
22 | -use Romm\Formz\Middleware\Item\FormValidation\FormValidationMiddlewareOption; |
|
23 | -use Romm\Formz\Validation\Validator\Form\AbstractFormValidator; |
|
24 | -use TYPO3\CMS\Core\Utility\GeneralUtility; |
|
25 | -use TYPO3\CMS\Extbase\Property\PropertyMapper; |
|
26 | -use TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration; |
|
27 | -use TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter; |
|
28 | 20 | |
29 | 21 | class StepMiddlewareValidationService |
30 | 22 | { |
@@ -24,6 +24,7 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param AbstractOptionDefinition $options* @param MiddlewareScopes $scopes |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function __construct(AbstractOptionDefinition $options, MiddlewareScopes $scopes); |
29 | 30 |