Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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