Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1093-1095 (lines=3) @@
1090
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1091
1092
                    // query whether or not, the configuration value on 'websites' level
1093
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1094
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1095
                    }
1096
                }
1097
            }
1098
        }
@@ 1113-1115 (lines=3) @@
1110
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1111
1112
        // query whether or not, the configuration value on 'default' level
1113
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1114
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1115
        }
1116
1117
        // if not, return the passed default value
1118
        if ($default !== null) {