Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1266-1268 (lines=3) @@
1263
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1264
1265
                    // query whether or not, the configuration value on 'websites' level
1266
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1267
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1268
                    }
1269
                }
1270
            }
1271
        }
@@ 1286-1288 (lines=3) @@
1283
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1284
1285
        // query whether or not, the configuration value on 'default' level
1286
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1287
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1288
        }
1289
1290
        // if not, return the passed default value
1291
        if ($default !== null) {