Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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