Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1118-1120 (lines=3) @@
1115
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1116
1117
                    // query whether or not, the configuration value on 'websites' level
1118
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1119
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1120
                    }
1121
                }
1122
            }
1123
        }
@@ 1138-1140 (lines=3) @@
1135
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1136
1137
        // query whether or not, the configuration value on 'default' level
1138
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1139
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1140
        }
1141
1142
        // if not, return the passed default value
1143
        if ($default !== null) {