Fix CS error

This commit is contained in:
ADmad 2015-10-30 09:28:03 +05:30
parent bc977544c5
commit 90c9ead8cd

View file

@ -1074,7 +1074,7 @@ class Validation {
if (!static::uploadError($file, $options['optional'])) {
return false;
}
if ($options['optional'] && (int) $file['error'] === UPLOAD_ERR_NO_FILE) {
if ($options['optional'] && (int)$file['error'] === UPLOAD_ERR_NO_FILE) {
return true;
}
if (isset($options['minSize']) && !static::fileSize($file, '>=', $options['minSize'])) {