Return type fix

This commit is contained in:
Richard Davey 2020-09-03 11:27:12 +01:00
parent 0ba7de7a60
commit bba8285665

View file

@ -899,7 +899,7 @@ var Factory = new Class({
* @param {(Phaser.Types.Physics.Matter.MatterBodyConfig|MatterJS.Body)} [options] - A Matter Body configuration object, or an instance of a Matter Body. * @param {(Phaser.Types.Physics.Matter.MatterBodyConfig|MatterJS.Body)} [options] - A Matter Body configuration object, or an instance of a Matter Body.
* @param {boolean} [addToWorld=true] - Add this Matter Body to the World? * @param {boolean} [addToWorld=true] - Add this Matter Body to the World?
* *
* @return {Phaser.GameObjects.GameObject} The Game Object that had the Matter Components injected into it. * @return {Phaser.Physics.Matter.MatterGameObject} The Game Object that had the Matter Components injected into it.
*/ */
gameObject: function (gameObject, options, addToWorld) gameObject: function (gameObject, options, addToWorld)
{ {