Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1023-1025 (lines=3) @@
1020
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1021
1022
                    // query whether or not, the configuration value on 'websites' level
1023
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1024
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1025
                    }
1026
                }
1027
            }
1028
        }
@@ 1043-1045 (lines=3) @@
1040
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1041
1042
        // query whether or not, the configuration value on 'default' level
1043
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1044
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1045
        }
1046
1047
        // if not, return the passed default value
1048
        if ($default !== null) {