Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1055-1057 (lines=3) @@
1052
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1053
1054
                    // query whether or not, the configuration value on 'websites' level
1055
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1056
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1057
                    }
1058
                }
1059
            }
1060
        }
@@ 1075-1077 (lines=3) @@
1072
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1073
1074
        // query whether or not, the configuration value on 'default' level
1075
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1076
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1077
        }
1078
1079
        // if not, return the passed default value
1080
        if ($default !== null) {