Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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