File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,11 @@ There are some important things to consider in the code of the above controller:
195195 use the :method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::guessExtension `
196196 method to let Symfony guess the right extension according to the file MIME type;
197197
198+ .. versionadded :: 4.1
199+ The :method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::getClientSize `
200+ method was deprecated in Symfony 4.1 and will be removed in Symfony 5.0.
201+ Use ``getSize() `` instead.
202+
198203You can use the following code to link to the PDF brochure of a product:
199204
200205.. configuration-block ::
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ or perform more complex requests. Some useful examples::
416416 '/path/to/photo.jpg',
417417 'photo.jpg',
418418 'image/jpeg',
419- 123
419+ null
420420 );
421421 $client->request(
422422 'POST',
You can’t perform that action at this time.
0 commit comments