Ran code through php-cs-fixer

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI (W00d5t0ck)
2012-09-01 14:57:41 +02:00
parent d9fe0d8bcf
commit ee187ee044
16 changed files with 46 additions and 20 deletions

View File

@@ -57,6 +57,7 @@ class UploadedFile
{
// TODO: Check if not null!
$this->namespace = $namespace;
return $this;
}
@@ -76,19 +77,21 @@ class UploadedFile
* @var string $filename
*
* @ORM\Column(type="string", length=100, nullable=false)
* @Assert\NotBlank()
*/
protected $filename;
/**
* Set filename
*
* @param string $filename
* @param string $filename
* @return UploadedFile
*/
public function setFilename($filename)
{
// TODO: Check if not null nor empty!
$this->filename = $filename;
return $this;
}
@@ -124,13 +127,14 @@ class UploadedFile
/**
* Set mimeType
*
* @param string $mimeType
* @param string $mimeType
* @return UploadedFile
*/
public function setMimeType($mimeType)
{
// TODO: Check if not null nor empty!
$this->mimeType = $mimeType;
return $this;
}
@@ -156,7 +160,7 @@ class UploadedFile
/**
* Set description
*
* @param string $description
* @param string $description
* @return UploadedFile
*/
public function setDescription($description)
@@ -166,6 +170,7 @@ class UploadedFile
}
$this->description = $description;
return $this;
}