Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1185-1187 (lines=3) @@
1182
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1183
1184
        // query whether or not, the configuration value on 'default' level
1185
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1186
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1187
        }
1188
1189
        // if not, return the passed default value
1190
        if ($default !== null) {
@@ 1165-1167 (lines=3) @@
1162
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1163
1164
                    // query whether or not, the configuration value on 'websites' level
1165
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1166
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1167
                    }
1168
                }
1169
            }
1170
        }