This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src
Jules Pietri 7e97fbb6e4 [Form] let TextType implements DataTransformerInterface
closes #5906.

The submitted data should always be
transformed back to the model as a string
as NULL in this case could stand for "unset
this value" whereas a string property of a
class could rely on the string type.

Furthermore, this prevents potential issues
with PHP 7 which allows type hinting of
strings in functions.
2016-03-30 09:45:14 +02:00
..
Symfony [Form] let TextType implements DataTransformerInterface 2016-03-30 09:45:14 +02:00