From 786a3933cd245bbc34a7896da5b376ea7cf25459 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 12 Jan 2024 18:18:06 +0000 Subject: [PATCH] `Factory.staticBody` had the wrong return type in the docs/TS defs. Fix #6693 --- src/physics/arcade/Factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physics/arcade/Factory.js b/src/physics/arcade/Factory.js index c4c4388b0..091cb2fd6 100644 --- a/src/physics/arcade/Factory.js +++ b/src/physics/arcade/Factory.js @@ -297,7 +297,7 @@ var Factory = new Class({ * @param {number} [width=64] - The width of the Body in pixels. Cannot be negative or zero. * @param {number} [height=64] - The height of the Body in pixels. Cannot be negative or zero. * - * @return {Phaser.Physics.Arcade.Body} The Body that was created. + * @return {Phaser.Physics.Arcade.StaticBody} The Static Body that was created. */ staticBody: function (x, y, width, height) {