Code Duplication    Length = 5-5 lines in 2 locations

lib/Doctrine/ORM/Cache/Persister/Entity/NonStrictReadWriteCachedEntityPersister.php 2 locations

@@ 41-45 (lines=5) @@
38
    {
39
        $isChanged = false;
40
41
        if (isset($this->queuedCache['insert'])) {
42
            foreach ($this->queuedCache['insert'] as $entity) {
43
                $isChanged = $this->updateCache($entity, $isChanged);
44
            }
45
        }
46
47
        if (isset($this->queuedCache['update'])) {
48
            foreach ($this->queuedCache['update'] as $entity) {
@@ 47-51 (lines=5) @@
44
            }
45
        }
46
47
        if (isset($this->queuedCache['update'])) {
48
            foreach ($this->queuedCache['update'] as $entity) {
49
                $isChanged = $this->updateCache($entity, $isChanged);
50
            }
51
        }
52
53
        if (isset($this->queuedCache['delete'])) {
54
            foreach ($this->queuedCache['delete'] as $key) {