Versions:
- ide-helper Version: 3.2.2
- Laravel Version: 11.34.2
- PHP Version: 8.3.14
Description:
This wonderful package (thank you!) adds something like the following if I have a date column on my model:
@method static \Illuminate\Database\Eloquent\Builder<static>|Invoice whereDate($value)
However, whereDate is a Laravel method on Illuminate\Database\Query\Builder. Thus, it won't work to do something like this:
$invoice->whereDate(Date::today())->first();
We should exclude these methods:
- whereDate
- whereMonth
- whereDay
- whereYear
- whereTime