Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1253-1255 (lines=3) @@
1250
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1251
1252
                    // query whether or not, the configuration value on 'websites' level
1253
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1254
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1255
                    }
1256
                }
1257
            }
1258
        }
@@ 1273-1275 (lines=3) @@
1270
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1271
1272
        // query whether or not, the configuration value on 'default' level
1273
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1274
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1275
        }
1276
1277
        // if not, return the passed default value
1278
        if ($default !== null) {