8000 minor #24384 [Form] Fix FormInterface::submit() annotation (enumag) · symfony/symfony@fbbab43 · GitHub
[go: up one dir, main page]

Skip to content

Commit fbbab43

Browse files
committed
minor #24384 [Form] Fix FormInterface::submit() annotation (enumag)
This PR was merged into the 2.7 branch. Discussion ---------- [Form] Fix FormInterface::submit() annotation | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | `null|string|array` does not cover all possible values. For example for UploadType it is an instance of UploadedFile. Commits ------- c6c09e4 [Form] Fix FormInterface::submit() annotation
2 parents 59c272b + c6c09e4 commit fbbab43

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Symfony/Component/Form/FormInterface.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,9 @@ public function handleRequest($request = null);
269269
/**
270270
* Submits data to the form, transforms and validates it.
271271
*
272-
* @param null|string|array $submittedData The submitted data
273-
* @param bool $clearMissing whether to set fields to NULL
274-
* when they are missing in the
275-
* submitted data
272+
* @param mixed $submittedData The submitted data
273+
* @param bool $clearMissing whether to set fields to NULL when they
274+
* are missing in the submitted data
276275
*
277276
* @return $this
278277
*

0 commit comments

Comments
 (0)
0