Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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