Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1017-1019 (lines=3) @@
1014
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1015
1016
                    // query whether or not, the configuration value on 'websites' level
1017
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1018
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1019
                    }
1020
                }
1021
            }
1022
        }
@@ 1037-1039 (lines=3) @@
1034
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1035
1036
        // query whether or not, the configuration value on 'default' level
1037
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1038
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1039
        }
1040
1041
        // if not, return the passed default value
1042
        if ($default !== null) {