forked from lubiana/futtern
add mutation testing
This commit is contained in:
parent
12ff38ecd6
commit
7674b6a6bd
22 changed files with 1239 additions and 247 deletions
|
@ -134,7 +134,7 @@ class FoodOrder
|
|||
public function removeOrderItem(OrderItem $orderItem): static
|
||||
{
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($this->orderItems->removeElement($orderItem) && $orderItem->getFoodOrder() === $this) {
|
||||
if ($this->orderItems->removeElement($orderItem)) {
|
||||
$orderItem->setFoodOrder(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue