Closed
Description
Bug Report
Q | A |
---|---|
BC Break | no |
Version | 2.9.x |
Summary
Currently, Doctrine hydrates fields with the decimal
type to a string. After upgrading to PHP 8.1, I receive a float instead. This change of behavior might break applications, for instance if a string
return type declaration is used for a getter method of that field.
How to reproduce
Execute the test case Doctrine\Tests\ORM\Functional\TypeTest::testDecimal
on PHP 8.1.
Metadata
Metadata
Assignees
Labels
No labels