Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1128-1130 (lines=3) @@
1125
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1126
1127
                    // query whether or not, the configuration value on 'websites' level
1128
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1129
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1130
                    }
1131
                }
1132
            }
1133
        }
@@ 1148-1150 (lines=3) @@
1145
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1146
1147
        // query whether or not, the configuration value on 'default' level
1148
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1149
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1150
        }
1151
1152
        // if not, return the passed default value
1153
        if ($default !== null) {