-
-
Notifications
You must be signed in to change notification settings - Fork 514
Open
Labels
Description
The Type::convertToDatabaseValue() and Type:: convertToPHPValue() specify that the methods receive a PHP and database type and return the opposite type. However, there are numerous instances where convertToPHPValue() is called with a PHP value. Built-in types all handle this gracefully, so we should document this in the method signatures as well.
We may also want to add a short section to the documentation on how to add a custom type.
petr-buchin