You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -19,8 +19,11 @@ class CameraWeb extends Model
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* @param Builder<CameraWeb> $query
|
||||
*/
|
||||
#[\Illuminate\Database\Eloquent\Attributes\Scope]
|
||||
protected function period(Builder $query, $period): void
|
||||
protected function period(Builder $query, string $period): void
|
||||
{
|
||||
if ($period == 'today') {
|
||||
$query->where('timestamp', '>=', \Illuminate\Support\Facades\Date::today()->timestamp);
|
||||
|
||||
Reference in New Issue
Block a user