forked from eatvio/eatvio-infra
make static-analyse code
This commit is contained in:
@@ -121,7 +121,7 @@ class BlogPost extends Model implements Viewable
|
||||
return $query->setEagerLoads([]);
|
||||
}
|
||||
|
||||
public function scopeContainsTag(Builder $query, string $tagString): Builder
|
||||
public function scopeContainsTag(Builder $query, string $tagString): MorphToMany
|
||||
{
|
||||
$tagId = Str::of($tagString)->split('/-/')->first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user