src/Repository/ItemRepository.php
public function removeOrphans(): void
    {
        $itemIds = $this->findOrphanedIds();
        if (count($itemIds) > 0) {
            $this->removeIds($itemIds);
        }
    }
public function removeOrphans(): void
    {
        $itemIds = $this->findOrphanedIds();
        if (count($itemIds) > 0) {
            $this->removeIds($itemIds);
        }
    }
public function removeOrphans ( ) : void { $ itemIds = $ this -> findOrphanedIds ( ) ; if ( count ( $ itemIds ) > 0 ) { $ this -> removeIds ( $ itemIds ) ; } }
Removes any orphaned items, i.e. items no longer used by any recipe or combination.
Removes any orphaned items i . e . items no longer used by any recipe or combination .