Fixing types
Closed this issue · 2 comments
FluffyDiscord commented
Hello, could you please remove the PSR-0 aliases and fix return types for quite a few functions ? It's rather annoying to work with php 8.1 with this as functions tend to return different data types that do not correspond to the comments.
Libraries like rector/rector
fail to analyze classes using your library because of the PSR-0 and IDEs like PhpStorm incorrectly hint return types, because they are wrong in the annotations/comments.
duzun commented
Hi,
Thanks for the comments.
I'd appreciate if you could test the latest version and show some examples of wrong types.
duzun commented
Fixed in PSR-0 class names cleanup.