Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

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