Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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