Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1245-1247 (lines=3) @@
1242
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1243
1244
                    // query whether or not, the configuration value on 'websites' level
1245
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1246
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1247
                    }
1248
                }
1249
            }
1250
        }
@@ 1265-1267 (lines=3) @@
1262
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1263
1264
        // query whether or not, the configuration value on 'default' level
1265
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1266
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1267
        }
1268
1269
        // if not, return the passed default value
1270
        if ($default !== null) {