Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1127-1129 (lines=3) @@
1124
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1125
1126
            // query whether or not, the configuration value on 'websites' level
1127
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1128
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1129
            }
1130
        }
1131
1132
        // replace scope with 'default' and scope ID '0'
@@ 1145-1147 (lines=3) @@
1142
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1143
1144
        // query whether or not, the configuration value on 'default' level
1145
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1146
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1147
        }
1148
1149
        // if not, return the passed default value
1150
        if ($default !== null) {