Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 951-953 (lines=3) @@
948
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
949
950
            // query whether or not, the configuration value on 'websites' level
951
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
952
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
953
            }
954
        }
955
956
        // replace scope with 'default' and scope ID '0'
@@ 969-971 (lines=3) @@
966
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
967
968
        // query whether or not, the configuration value on 'default' level
969
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
970
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
971
        }
972
973
        // if not, return the passed default value
974
        if ($default !== null) {