Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1034-1036 (lines=3) @@
1031
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1032
1033
                    // query whether or not, the configuration value on 'websites' level
1034
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1035
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1036
                    }
1037
                }
1038
            }
1039
        }
@@ 1054-1056 (lines=3) @@
1051
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1052
1053
        // query whether or not, the configuration value on 'default' level
1054
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1055
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1056
        }
1057
1058
        // if not, return the passed default value
1059
        if ($default !== null) {