Commit dad8927e authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

UploadedFile: affecte des valeurs par défaut pour certaines propriétés.

Showing with 5 additions and 5 deletions
+5 -5
...@@ -49,19 +49,19 @@ class UploadedFile implements UploadedFileInterface ...@@ -49,19 +49,19 @@ class UploadedFile implements UploadedFileInterface
* @ORM\Column(type="string", length=255, nullable=true) * @ORM\Column(type="string", length=255, nullable=true)
* @var string * @var string
*/ */
private $mimeType; private $mimeType = null;
/** /**
* @ORM\Column(type="integer", nullable=true) * @ORM\Column(type="integer", nullable=true)
* @var int * @var int
*/ */
private $size; private $size = null;
/** /**
* @ORM\Column(type="string", length=64, nullable=true) * @ORM\Column(type="string", length=64, nullable=true)
* @var string * @var string
*/ */
private $checksum; private $checksum = null;
/** /**
* @ORM\Column(type="string", length=10) * @ORM\Column(type="string", length=10)
...@@ -79,7 +79,8 @@ class UploadedFile implements UploadedFileInterface ...@@ -79,7 +79,8 @@ class UploadedFile implements UploadedFileInterface
* @ORM\Column(type="json_array", nullable=true) * @ORM\Column(type="json_array", nullable=true)
* @var array * @var array
*/ */
private $metadata; private $metadata = null;
/** /**
* @ORM\Column(type="string", length=256, nullable=true) * @ORM\Column(type="string", length=256, nullable=true)
* @var string * @var string
...@@ -587,7 +588,6 @@ class UploadedFile implements UploadedFileInterface ...@@ -587,7 +588,6 @@ class UploadedFile implements UploadedFileInterface
'icon' => MimeTypeIcon::getMimeTypeIcon($this->getMimeType()) 'icon' => MimeTypeIcon::getMimeTypeIcon($this->getMimeType())
]; ];
} }
private $localTempPath = null;
public function getLocalPath() public function getLocalPath()
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment