Is it only me or the templateId and languageId field's should be integers, as well as the id? If I compare a foreign key with a primary key, the === operator would return false, because one's type is string and the other's is integer... I find this difficult to understand...
I'm experiencing a weird problem with my entities.
I have the following example entity definition:
The associated SQL code:
When I run a query on the mentioned entity like
$mapper->get(1)
, I'm getting the following result:Is it only me or the
templateId
andlanguageId
field's should be integers, as well as theid
? If I compare a foreign key with a primary key, the===
operator would return false, because one's type is string and the other's is integer... I find this difficult to understand...