Add type / value to MDImporterMissingConcordance
This commit is contained in:
24 files changed
+335
-26
No files matched your search
@@ -65,7 +65,7 @@ final class MDConcOwnershipStatus implements MDImporterConcordanceListInterface
|
||||
if (isset(self::OWNERSHIP_TYPES_VERBOSE[trim($input)])) {
|
||||
return self::OWNERSHIP_TYPES_VERBOSE[trim($input)];
|
||||
}
|
||||
throw new MDImporterMissingConcordance("Unknown ownership type: " . $input);
|
||||
throw MDImporterMissingConcordance::setup("ownership", $input);
|
||||
}
|
||||
|
||||
return self::OWNERSHIP_TYPES_VERBOSE[$input];
|
||||
|
||||
Reference in new issue
Block a user