Skip to content

Commit 490f003

Browse files
Merge branch '5.4' into 6.3
* 5.4: Dump Valid constaints on debug command #46544 [DependencyInjection] fix dump xml with array/object/enum default value [HttpFoundation] Add a slightly more verbose comment about a warning on UploadedFile [Messenger] BatchHandlerTrait - fix phpdoc typo Remove me from CODEOWNERS Always return bool from messenger amqp conncetion nack [Console] Fix linewraps in OutputFormatter
2 parents 43ed99d + da86b7d commit 490f003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

File/UploadedFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function __construct(string $path, string $originalName, string $mimeType
7474
* Returns the original file name.
7575
*
7676
* It is extracted from the request from which the file has been uploaded.
77-
* Then it should not be considered as a safe value.
77+
* This should not be considered as a safe value to use for a file name on your servers.
7878
*/
7979
public function getClientOriginalName(): string
8080
{
@@ -85,7 +85,7 @@ public function getClientOriginalName(): string
8585
* Returns the original file extension.
8686
*
8787
* It is extracted from the original file name that was uploaded.
88-
* Then it should not be considered as a safe value.
88+
* This should not be considered as a safe value to use for a file name on your servers.
8989
*/
9090
public function getClientOriginalExtension(): string
9191
{

0 commit comments

Comments
 (0)