Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1171-1173 (lines=3) @@
1168
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1169
1170
            // query whether or not, the configuration value on 'websites' level
1171
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1172
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1173
            }
1174
        }
1175
1176
        // replace scope with 'default' and scope ID '0'
@@ 1189-1191 (lines=3) @@
1186
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1187
1188
        // query whether or not, the configuration value on 'default' level
1189
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1190
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1191
        }
1192
1193
        // if not, return the passed default value
1194
        if ($default !== null) {