Open vafadarnaghi opened 2 years ago
Hi,
It seems trimming strings breaks psalm enum type.
Please, take a look to snippet:
https://psalm.dev/r/68e999caa5 https://psalm.dev/r/41e5416030
Thank you.
Edit: fixed URLs
I found these snippets:
This could be supported by adding a return type provider for trim if you want to give it a shot. Might as well do ltrim and rtrim at the same time.
trim
ltrim
rtrim
Hi,
It seems trimming strings breaks psalm enum type.
Please, take a look to snippet:
https://psalm.dev/r/68e999caa5 https://psalm.dev/r/41e5416030
Thank you.
Edit: fixed URLs