Skip to content
Permalink
Browse files

Fix CS error

  • Loading branch information...
ADmad committed Oct 30, 2015
1 parent bc97754 commit 90c9ead8cda0c08086bd6400a4ad0bce26f7c7c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Validation.php
@@ -1074,7 +1074,7 @@ public static function uploadedFile($file, $options = array()) {
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'])) {

0 comments on commit 90c9ead

Please sign in to comment.
You can’t perform that action at this time.