add mutation testing
This commit is contained in:
parent
12ff38ecd6
commit
7674b6a6bd
22 changed files with 1239 additions and 247 deletions
|
@ -80,7 +80,7 @@ class FoodVendor
|
|||
public function removeFoodOrder(FoodOrder $foodOrder): static
|
||||
{
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($this->foodOrders->removeElement($foodOrder) && $foodOrder->getFoodVendor() === $this) {
|
||||
if ($this->foodOrders->removeElement($foodOrder)) {
|
||||
$foodOrder->setFoodVendor(null);
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ class FoodVendor
|
|||
public function removeMenuItem(MenuItem $menuItem): static
|
||||
{
|
||||
// set the owning side to null (unless already changed)
|
||||
if ($this->menuItems->removeElement($menuItem) && $menuItem->getFoodVendor() === $this) {
|
||||
if ($this->menuItems->removeElement($menuItem)) {
|
||||
$menuItem->setFoodVendor(null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue