Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1167-1169 (lines=3) @@
1164
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1165
1166
            // query whether or not, the configuration value on 'websites' level
1167
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1168
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1169
            }
1170
        }
1171
1172
        // replace scope with 'default' and scope ID '0'
@@ 1185-1187 (lines=3) @@
1182
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1183
1184
        // query whether or not, the configuration value on 'default' level
1185
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1186
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1187
        }
1188
1189
        // if not, return the passed default value
1190
        if ($default !== null) {