Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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