Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 972-974 (lines=3) @@
969
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
970
971
            // query whether or not, the configuration value on 'websites' level
972
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
973
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
974
            }
975
        }
976
977
        // replace scope with 'default' and scope ID '0'
@@ 990-992 (lines=3) @@
987
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
988
989
        // query whether or not, the configuration value on 'default' level
990
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
991
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
992
        }
993
994
        // if not, return the passed default value
995
        if ($default !== null) {