Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 995-997 (lines=3) @@
992
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
993
994
                    // query whether or not, the configuration value on 'websites' level
995
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
996
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
997
                    }
998
                }
999
            }
1000
        }
@@ 1015-1017 (lines=3) @@
1012
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1013
1014
        // query whether or not, the configuration value on 'default' level
1015
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1016
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1017
        }
1018
1019
        // if not, return the passed default value
1020
        if ($default !== null) {