[Form] Fix PHPDoc for builder setData methods
The underlying data variable is typed as mixed whereas the methods
paramers where typed as array.
minor #11934 [Form] Fix PHPDoc for builder setData methods (MisatoTremor)

This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Fix PHPDoc for builder setData methods

| Q             | A
| ------------- | ---
| Fixed tickets | #11933
| License       | MIT

The underlying data variable is typed as mixed whereas the methods paramers where typed as array.
The method is also described to accept objects, etc. in the documentation.

Commits
-------

c207d1d [Form] Fix PHPDoc for builder setData methods The underlying data variable is typed as mixed whereas the methods paramers where typed as array.
Use getPathname() instead of string casting to get BinaryFileReponse file path
bug #11837 Use getPathname() instead of string casting to get BinaryFileReponse file path (nervo)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #11837).

Discussion
----------

Use getPathname() instead of string casting to get BinaryFileReponse file path

According to the code, should be "File" instead of "\SplFileInfo"

Commits
-------

e1eb788 Use getPathname() instead of string casting to get BinaryFileReponse file path