Skip to content

Commit

Permalink
Fix CS error
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 30, 2015
1 parent bc97754 commit 90c9ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/Validation.php
Expand Up @@ -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'])) {
Expand Down

0 comments on commit 90c9ead

Please sign in to comment.