Remove unnecessary docblocks

This commit is contained in:
Christopher C. Wells 2021-04-02 20:09:37 -07:00 committed by Christopher Charbonneau Wells
parent 20d7516ff1
commit 152d9eb641
6 changed files with 1 additions and 37 deletions

View File

@ -52,10 +52,7 @@ class FoodAdapter extends AbstractAdapter
});
}
}
/**
* Tag relationships.
*/
protected function tags(): HasMany
{
return $this->hasMany();

View File

@ -42,9 +42,6 @@ class IngredientAmountAdapter extends AbstractAdapter
$this->filterWithScopes($query, $filters);
}
/**
* Ingredient relationship.
*/
protected function ingredient(): BelongsTo
{
return $this->belongsTo();

View File

@ -43,25 +43,16 @@ class JournalEntryAdapter extends AbstractAdapter
$this->filterWithScopes($query, $filters);
}
/**
* User relationship.
*/
protected function user(): BelongsTo
{
return $this->belongsTo();
}
/**
* Food relationships.
*/
protected function foods(): MorphHasMany
{
return $this->morphMany($this->hasMany('foods'));
}
/**
* Recipe relationships.
*/
protected function recipes(): MorphHasMany
{
return $this->morphMany($this->hasMany('recipes'));

View File

@ -54,41 +54,26 @@ class RecipeAdapter extends AbstractAdapter
}
}
/**
* Ingredient amount relationships.
*/
protected function ingredientAmounts(): MorphHasMany
{
return $this->morphMany($this->hasMany('ingredientAmounts'));
}
/**
* Media relationships.
*/
protected function media(): MorphHasMany
{
return $this->morphMany($this->hasMany('media'));
}
/**
* Ingredient amount relationships.
*/
protected function separators(): HasMany
{
return $this->hasMany();
}
/**
* Step relationships.
*/
protected function steps(): HasMany
{
return $this->hasMany();
}
/**
* Tag relationships.
*/
protected function tags(): HasMany
{
return $this->hasMany();

View File

@ -42,9 +42,6 @@ class RecipeSeparatorAdapter extends AbstractAdapter
$this->filterWithScopes($query, $filters);
}
/**
* Recipe relationship.
*/
protected function recipe(): BelongsTo
{
return $this->belongsTo();

View File

@ -42,9 +42,6 @@ class RecipeStepAdapter extends AbstractAdapter
$this->filterWithScopes($query, $filters);
}
/**
* Recipe relationship.
*/
protected function recipe(): BelongsTo
{
return $this->belongsTo();