phpstan / phpstan-doctrine

Doctrine extensions for PHPStan
MIT License
588 stars 96 forks source link

ReflectionDescriptor: deduce database internal type based on parent #582

Closed janedbal closed 3 months ago

janedbal commented 3 months ago

Separated from #506.

This is crucial for every codebase that utilizes custom types a lot. Previously any AVG(t.customTypedField) was mixed. Now, it can produce proper type.

ondrejmirtes commented 3 months ago

Thank you!