File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ define([
325
325
/**
326
326
* Removes an entity with the provided id from the collection.
327
327
*
328
- * @param {Object } id The id of the entity to remove.
328
+ * @param {String } id The id of the entity to remove.
329
329
* @returns {Boolean } true if the item was removed, false if no item with the provided id existed in the collection.
330
330
*/
331
331
EntityCollection . prototype . removeById = function ( id ) {
@@ -382,7 +382,7 @@ define([
382
382
/**
383
383
* Gets an entity with the specified id.
384
384
*
385
- * @param {Object } id The id of the entity to retrieve.
385
+ * @param {String } id The id of the entity to retrieve.
386
386
* @returns {Entity } The entity with the provided id or undefined if the id did not exist in the collection.
387
387
*/
388
388
EntityCollection . prototype . getById = function ( id ) {
@@ -398,7 +398,7 @@ define([
398
398
/**
399
399
* Gets an entity with the specified id or creates it and adds it to the collection if it does not exist.
400
400
*
401
- * @param {Object } id The id of the entity to retrieve or create.
401
+ * @param {String } id The id of the entity to retrieve or create.
402
402
* @returns {Entity } The new or existing object.
403
403
*/
404
404
EntityCollection . prototype . getOrCreateEntity = function ( id ) {
You can’t perform that action at this time.
0 commit comments