From 90c9ead8cda0c08086bd6400a4ad0bce26f7c7c3 Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 30 Oct 2015 09:28:03 +0530 Subject: [PATCH] Fix CS error --- lib/Cake/Utility/Validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Validation.php b/lib/Cake/Utility/Validation.php index e05c31a9f..44b5dd9a7 100644 --- a/lib/Cake/Utility/Validation.php +++ b/lib/Cake/Utility/Validation.php @@ -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'])) {