Code Duplication    Length = 7-7 lines in 2 locations

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

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

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

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