Jsonb::convertToPHPValue(): Return value must be of type array|string|int|float|null, bool returned
Gemorroj opened this issue · comments
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.
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.
Addressed in #131