Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 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) {
@@ 1182-1184 (lines=3) @@
1179
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1180
1181
                    // query whether or not, the configuration value on 'websites' level
1182
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1183
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1184
                    }
1185
                }
1186
            }
1187
        }