I don't get it:
credits: { type: bigint, required: false, default: 0 }
experience: { type: bigint, required: false, default: 0 }
public function applyDefaultValues()
{
$this->fases_complete = false;
$this->credits = '0';
$this->experience = '0';
}
I think the default values should be (int) when type is a form of
integer.
And another question, why are boolean a tinyint(4) instead of tinyint
(1) ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---