-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Add phpdoc to RequestHandlerInterface::isFileUpload()
method
#25040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Q | A |
---|---|
Branch? | 2.7 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | Not confirmed, but the changes are completely minor |
Fixed tickets | - |
License | MIT |
Doc PR | - |
@@ -27,7 +27,9 @@ | |||
public function handleRequest(FormInterface $form, $request = null); | |||
|
|||
/** | |||
* @param mixed $data | |||
* Returns true if the given data is used to upload the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returns true if the given data is a file upload
?
* @param mixed $data | ||
* Returns true if the given data is used to upload the file. | ||
* | ||
* @param mixed $data the form field data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uppercase "T" [The...]
@fabpot @nicolas-grekas Thank you guys for your advice! and now I've fixed it :) |
Thank you @issei-m. |
…oad()` method (issei-m) This PR was squashed before being merged into the 2.7 branch (closes #25040). Discussion ---------- [Form] Add phpdoc to `RequestHandlerInterface::isFileUpload()` method | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | Not confirmed, but the changes are completely minor | Fixed tickets | - | License | MIT | Doc PR | - <!-- - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. - Please fill in this template according to the PR you're about to submit. - Replace this comment by a description of what your PR is solving. --> Commits ------- faf5470 [Form] Add phpdoc to `RequestHandlerInterface::isFileUpload()` method