Code Duplication    Length = 9-9 lines in 2 locations

Test/Unit/Model/Config/Stub/MutableScopeConfigMock.php 2 locations

@@ 32-40 (lines=9) @@
29
    /**
30
     * {@inheritdoc}
31
     */
32
    public function getValue($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode = null)
33
    {
34
        $key = sprintf('%s|%s|%s', $path, $scopeType, $scopeCode);
35
        if (isset($this->data[$key])) {
36
            return $this->data[$key];
37
        }
38
        
39
        return null;
40
    }
41
42
    /**
43
     * {@inheritdoc}
@@ 45-53 (lines=9) @@
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function isSetFlag($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode = null)
46
    {
47
        $key = sprintf('%s|%s|%s', $path, $scopeType, $scopeCode);
48
        if (isset($this->data[$key])) {
49
            return $this->data[$key];
50
        }
51
        
52
        return null;
53
    }
54
}
55