Today, I finished to update my #php ORM, with PHPStan level to max and with lots of generic types.

After so many hours and some refactoring, lots of errors were remaining.
But after some more refactoring, alleluia, it is working very well without errors.

And now, I have correct types for my entities 🤩

And the tests keep going green with one or two adjustments after refactoring!

Many thanks to @OndrejMirtes for PHPStan and @sebastian for those fantastic tools that help to make strong code 🙂