Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1044-1046 (lines=3) @@
1041
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1042
1043
                    // query whether or not, the configuration value on 'websites' level
1044
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1045
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1046
                    }
1047
                }
1048
            }
1049
        }
@@ 1064-1066 (lines=3) @@
1061
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1062
1063
        // query whether or not, the configuration value on 'default' level
1064
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1065
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1066
        }
1067
1068
        // if not, return the passed default value
1069
        if ($default !== null) {