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
        }
@@ 1192-1194 (lines=3) @@
1189
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1190
1191
        // query whether or not, the configuration value on 'default' level
1192
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1193
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1194
        }
1195
1196
        // if not, return the passed default value
1197
        if ($default !== null) {