Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1226-1228 (lines=3) @@
1223
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1224
1225
                    // query whether or not, the configuration value on 'websites' level
1226
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1227
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1228
                    }
1229
                }
1230
            }
1231
        }
@@ 1246-1248 (lines=3) @@
1243
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1244
1245
        // query whether or not, the configuration value on 'default' level
1246
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1247
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1248
        }
1249
1250
        // if not, return the passed default value
1251
        if ($default !== null) {