IDE-Helper generates classes like Illuminate\Database\Eloquent\Collection that is like the built-in Eloquent Collection, except it has none of the methods including the constructor, so it makes type-hinting bad: it thinks there is no constructor thus marks what I pass to the constructor as gray (not needed), also it things the ->merge() method does not exist.
I'm sure I must be doing wrong. Please help.
Versions:
Question:
IDE-Helper generates classes like Illuminate\Database\Eloquent\Collection that is like the built-in Eloquent Collection, except it has none of the methods including the constructor, so it makes type-hinting bad: it thinks there is no constructor thus marks what I pass to the constructor as gray (not needed), also it things the ->merge() method does not exist. I'm sure I must be doing wrong. Please help.
The generated bits in _ide_helper.php
The bad intellisense.
config/ide-helper.php