Foreach argument inspection triggered on doctrine Collection
Creeperface01 opened this issue · 1 comments
Creeperface01 commented
Describe the bug
As far as I know latte supports all iterable types natively supported by PHP for loops so I assume this to be a bug. I haven't tested this deeply, but at least for doctrine collection I'm getting Invalid argument supplied to 'foreach'
warning, which should be.
Environment (please complete the following information):
- PhpStorm version [2022.2]
- Plugin version [1.1.5]
To Reproduce
- Make a variable of type \Doctrine\Common\Collections\Collection
- Make a foreach loop
mesour commented
This inspection will be removed