Open ghost opened 5 months ago
How does your model look like? Please post more details.
Heres the full code block in the ide helper file:
* Add a where between statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param \Illuminate\Database\Query\iterable $values
* @param string $boolean
* @param bool $not
* @return \Illuminate\Database\Query\Builder
* @static
*/ public static function whereBetween($column, $values, $boolean = 'and', $not = false)
{
/** @var \Illuminate\Database\Query\Builder $instance */
return $instance->whereBetween($column, $values, $boolean, $not);
}
The whereBetween
method accepts a generic iterable
type in the parameters. Making the changes I previously mentioned resolves the issue.
Heres the full code block in the ide helper file:
No, I asked for the model please.
Versions:
Description:
I am getting the following error inside of the ide helper file in vscode:
If I change this line:
To this:
The error disappears.
This happens in multiple places inside of the ide helper file btw.