Code Duplication    Length = 3-3 lines in 2 locations

src/Subjects/AbstractSubject.php 2 locations

@@ 1232-1234 (lines=3) @@
1229
                    $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1230
1231
                    // query whether or not, the configuration value on 'websites' level
1232
                    if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1233
                        return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1234
                    }
1235
                }
1236
            }
1237
        }
@@ 1252-1254 (lines=3) @@
1249
        $uniqueIdentifier = $this->coreConfigDataUidGenerator->generate($coreConfigData);
1250
1251
        // query whether or not, the configuration value on 'default' level
1252
        if (isset($this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE])) {
1253
            return $this->coreConfigData[$uniqueIdentifier][MemberNames::VALUE];
1254
        }
1255
1256
        // if not, return the passed default value
1257
        if ($default !== null) {