Skip to content

Commit

Permalink
csfix
Browse files Browse the repository at this point in the history
  • Loading branch information
karlomikus committed Jun 15, 2024
1 parent 7ba24cc commit fa45aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/CocktailIngredient.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ public function userHasInShelfAsComplexIngredient(User $user): bool

$currentShelf = $user->getShelfIngredients($this->ingredient->bar_id)->pluck('ingredient_id');

return $requiredIngredientIds->every(fn($id) => $currentShelf->contains($id));
return $requiredIngredientIds->every(fn ($id) => $currentShelf->contains($id));
}
}

0 comments on commit fa45aab

Please sign in to comment.