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

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

View File

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

View File

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

View File

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

View File

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

View File

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