Skip to content

Commit

Permalink
Merge pull request DSpace#3620 from saschaszott/patch-31
Browse files Browse the repository at this point in the history
class `Metadata`: rename parameter names in JSDoc from `mapOrMaps` to `mdMapOrMaps`
  • Loading branch information
tdonohue authored Nov 7, 2024
2 parents 1ccdec2 + 65d17e4 commit 2c7e30c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/core/shared/metadata.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class Metadata {
/**
* Gets the first matching MetadataValue object in the map(s), or `undefined`.
*
* @param {MetadataMapInterface|MetadataMapInterface[]} mapOrMaps The source map(s).
* @param {MetadataMapInterface|MetadataMapInterface[]} mdMapOrMaps The source map(s).
* @param {string|string[]} keyOrKeys The metadata key(s) in scope. Wildcards are supported; see above.
* @param {MetadataValueFilter} filter The value filter to use. If unspecified, no filtering will be done.
* @returns {MetadataValue} the first matching value, or `undefined`.
Expand All @@ -98,7 +98,7 @@ export class Metadata {
/**
* Like [[Metadata.first]], but only returns a string value, or `undefined`.
*
* @param {MetadataMapInterface|MetadataMapInterface[]} mapOrMaps The source map(s).
* @param {MetadataMapInterface|MetadataMapInterface[]} mdMapOrMaps The source map(s).
* @param {string|string[]} keyOrKeys The metadata key(s) in scope. Wildcards are supported; see above.
* @param {MetadataValueFilter} filter The value filter to use. If unspecified, no filtering will be done.
* @returns {string} the first matching string value, or `undefined`.
Expand All @@ -112,7 +112,7 @@ export class Metadata {
/**
* Checks for a matching metadata value in the given map(s).
*
* @param {MetadataMapInterface|MetadataMapInterface[]} mapOrMaps The source map(s).
* @param {MetadataMapInterface|MetadataMapInterface[]} mdMapOrMaps The source map(s).
* @param {string|string[]} keyOrKeys The metadata key(s) in scope. Wildcards are supported; see above.
* @param {MetadataValueFilter} filter The value filter to use. If unspecified, no filtering will be done.
* @returns {boolean} whether a match is found.
Expand Down

0 comments on commit 2c7e30c

Please sign in to comment.