laravel-ide-helper
laravel-ide-helper copied to clipboard
Expected type 'iterable'. Found 'Illuminate\Database\Query\iterable'.
Versions:
- ide-helper Version: 3
- Laravel Version: 11
- PHP Version: 8
Description:
I am getting the following error inside of the ide helper file in vscode:
Expected type 'iterable'. Found 'Illuminate\Database\Query\iterable'.
If I change this line:
@param \Illuminate\Database\Query\iterable $values
To this:
@param iterable $values
The error disappears.
This happens in multiple places inside of the ide helper file btw.