callbackScope is an optional param

This commit is contained in:
Rory O'Connell 2018-11-10 14:29:49 -08:00
parent e34d759928
commit 49e5e5c3a9

View file

@ -179,7 +179,7 @@ var Set = new Class({
* @genericUse {Phaser.Structs.Set.<T>} - [$return]
*
* @param {EachSetCallback} callback - The callback to be invoked and passed each value this Set contains.
* @param {*} callbackScope - The scope of the callback.
* @param {*} [callbackScope] - The scope of the callback.
*
* @return {Phaser.Structs.Set} This Set object.
*/
@ -224,7 +224,7 @@ var Set = new Class({
* @genericUse {Phaser.Structs.Set.<T>} - [$return]
*
* @param {EachSetCallback} callback - The callback to be invoked and passed each value this Set contains.
* @param {*} callbackScope - The scope of the callback.
* @param {*} [callbackScope] - The scope of the callback.
*
* @return {Phaser.Structs.Set} This Set object.
*/