Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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