Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1184-1186 (lines=3) @@
1181
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1182
1183
            // query whether or not, the configuration value on 'websites' level
1184
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1185
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1186
            }
1187
        }
1188
1189
        // replace scope with 'default' and scope ID '0'
@@ 1202-1204 (lines=3) @@
1199
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1200
1201
        // query whether or not, the configuration value on 'default' level
1202
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1203
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1204
        }
1205
1206
        // if not, return the passed default value
1207
        if ($default !== null) {