Jsonb::convertToPHPValue(): Return value must be of type array|string|int|float|null, bool returned
Gemorroj opened this issue · comments
hidden_nickname commented
after upgrade to https://github.com/martin-georgiev/postgresql-for-doctrine/releases/tag/v2.0.0
Uncaught PHP Exception TypeError: "MartinGeorgiev\Doctrine\DBAL\Types\Jsonb::convertToPHPValue(): Return value must be of type array|string|int|float|null, bool returned
JsonTransformer::transformToPostgresJson
may return bool value.
Martin Georgiev commented
Can you please share the data that you are trying to transform?
The shared information needs to be more specific to debug the problem and add reasonable test scenarios for this regression.
Martin Georgiev commented
Addressed in #131