Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1282-1284 (lines=3) @@
1279
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1280
1281
                    // query whether or not, the configuration value on 'websites' level
1282
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1283
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1284
                    }
1285
                }
1286
            }
1287
        }
@@ 1302-1304 (lines=3) @@
1299
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1300
1301
        // query whether or not, the configuration value on 'default' level
1302
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1303
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1304
        }
1305
1306
        // if not, return the passed default value
1307
        if ($default !== null) {