forked from eatvio/eatvio-infra
unused property removed
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user