unused property removed

This commit is contained in:
Anatoliy Poloz
2024-01-16 14:04:17 +03:00
parent ae1a34dfdf
commit 484c35f2dc
2 changed files with 5 additions and 5 deletions

View File

@@ -176,12 +176,12 @@ class Plan extends Model implements Viewable
return false;
}
public function scopeNegativeComments(Builder $query): HasMany
public function scopeNegativeComments(): HasMany
{
return static::comments()->where('grade', '<=', '3');
}
public function scopePositiveComments(Builder $query): HasMany
public function scopePositiveComments(): HasMany
{
return static::comments()->where('grade', '>', '3');
}