Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1135-1137 (lines=3) @@
1132
            $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1133
1134
            // query whether or not, the configuration value on 'websites' level
1135
            if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1136
                return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1137
            }
1138
        }
1139
1140
        // replace scope with 'default' and scope ID '0'
@@ 1153-1155 (lines=3) @@
1150
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1151
1152
        // query whether or not, the configuration value on 'default' level
1153
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1154
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1155
        }
1156
1157
        // if not, return the passed default value
1158
        if ($default !== null) {