File tree 2 files changed +6
-1
lines changed 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:
195
195
use the :method: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile::guessExtension `
196
196
method to let Symfony guess the right extension according to the file MIME type;
197
197
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
+
198
203
You can use the following code to link to the PDF brochure of a product:
199
204
200
205
.. configuration-block ::
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ or perform more complex requests. Some useful examples::
416
416
'/path/to/photo.jpg',
417
417
'photo.jpg',
418
418
'image/jpeg',
419
- 123
419
+ null
420
420
);
421
421
$client->request(
422
422
'POST',
You can’t perform that action at this time.
0 commit comments