Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1008-1010 (lines=3) @@
1005
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1006
1007
                    // query whether or not, the configuration value on 'websites' level
1008
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1009
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1010
                    }
1011
                }
1012
            }
1013
        }
@@ 1028-1030 (lines=3) @@
1025
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1026
1027
        // query whether or not, the configuration value on 'default' level
1028
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1029
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1030
        }
1031
1032
        // if not, return the passed default value
1033
        if ($default !== null) {