update 1.0.8.0
Commits for version update
This commit is contained in:
2
vendor/symfony/http-foundation/File/File.php
vendored
2
vendor/symfony/http-foundation/File/File.php
vendored
@@ -68,7 +68,7 @@ class File extends \SplFileInfo
|
||||
* mime_content_type() and the system binary "file" (in this order), depending on
|
||||
* which of those are available.
|
||||
*
|
||||
* @return string|null The guessed mime type (i.e. "application/pdf")
|
||||
* @return string|null The guessed mime type (e.g. "application/pdf")
|
||||
*
|
||||
* @see MimeTypeGuesser
|
||||
*/
|
||||
|
@@ -661,6 +661,7 @@ class MimeTypeExtensionGuesser implements ExtensionGuesserInterface
|
||||
'image/gif' => 'gif',
|
||||
'image/ief' => 'ief',
|
||||
'image/jpeg' => 'jpeg',
|
||||
'image/pjpeg' => 'jpeg',
|
||||
'image/ktx' => 'ktx',
|
||||
'image/png' => 'png',
|
||||
'image/prs.btif' => 'btif',
|
||||
|
@@ -194,7 +194,7 @@ class UploadedFile extends File
|
||||
/**
|
||||
* Returns whether the file was uploaded successfully.
|
||||
*
|
||||
* @return bool True if the file has been uploaded with HTTP and no error occurred.
|
||||
* @return bool True if the file has been uploaded with HTTP and no error occurred
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
|
Reference in New Issue
Block a user