Commit 7be960fb authored by Taylor Otwell's avatar Taylor Otwell

added missing parens.

parent 16575246
......@@ -287,7 +287,7 @@ class Validator {
$files = IoC::container()->resolve('laravel.input')->file();
return (array_key_exists($attribute, $files) ? $value['size'] / 1024 : Str::length(trim($value));
return (array_key_exists($attribute, $files)) ? $value['size'] / 1024 : Str::length(trim($value));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment