We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
How does your model look like? Please post more details.
Sorry, something went wrong.
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.
whereBetween
iterable
No, I asked for the model please.
No branches or pull requests
Versions:
Description:
I am getting the following error inside of the ide helper file in vscode:
If I change this line:
To this:
@param iterable $values
The error disappears.
This happens in multiple places inside of the ide helper file btw.
The text was updated successfully, but these errors were encountered: