Commit dcdc0495 authored by lsmith's avatar lsmith

- CS fixes

parent 9f6a652a
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -182,10 +182,9 @@ class Doctrine_Validator
*/
private function validateLength($column, $key, $value)
{
if($column[0] == "timestamp") {
if ($column[0] == "timestamp") {
return true;
}
else if ($column[0] == "array" || $column[0] == "object") {
} else if ($column[0] == "array" || $column[0] == "object") {
$length = strlen(serialize($value));
} else {
$length = strlen($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