Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1049-1051 (lines=3) @@
1046
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1047
1048
                    // query whether or not, the configuration value on 'websites' level
1049
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1050
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1051
                    }
1052
                }
1053
            }
1054
        }
@@ 1069-1071 (lines=3) @@
1066
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1067
1068
        // query whether or not, the configuration value on 'default' level
1069
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1070
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1071
        }
1072
1073
        // if not, return the passed default value
1074
        if ($default !== null) {