Code Duplication    Length = 7-7 lines in 2 locations

eZ/Publish/Core/Persistence/Cache/ContentLanguageHandler.php 1 location

@@ 43-49 (lines=7) @@
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function create(CreateStruct $struct)
44
    {
45
        $this->logger->logCall(__METHOD__, array('struct' => $struct));
46
        $this->cache->deleteItems(['ez-language-list']);
47
48
        return $this->persistenceHandler->contentLanguageHandler()->create($struct);
49
    }
50
51
    /**
52
     * {@inheritdoc}

eZ/Publish/Core/Persistence/Cache/ContentTypeHandler.php 1 location

@@ 66-72 (lines=7) @@
63
    /**
64
     * {@inheritdoc}
65
     */
66
    public function createGroup(GroupCreateStruct $struct)
67
    {
68
        $this->logger->logCall(__METHOD__, array('struct' => $struct));
69
        $this->cache->deleteItems(['ez-content-type-group-list']);
70
71
        return $this->persistenceHandler->contentTypeHandler()->createGroup($struct);
72
    }
73
74
    /**
75
     * {@inheritdoc}