Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 992-994 (lines=3) @@
989
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
990
991
            // query whether or not, the configuration value on 'websites' level
992
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
993
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
994
            }
995
        }
996
997
        // replace scope with 'default' and scope ID '0'
@@ 1010-1012 (lines=3) @@
1007
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1008
1009
        // query whether or not, the configuration value on 'default' level
1010
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1011
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1012
        }
1013
1014
        // if not, return the passed default value
1015
        if ($default !== null) {