From 24fbe810df41a8cbb72540e906ff0b05a8ca1343 Mon Sep 17 00:00:00 2001 From: Jason Kwok Date: Thu, 30 Jan 2020 23:39:08 +0800 Subject: [PATCH] Fixed `this` return types for `Phaser.Geom.Polygon` --- src/geom/polygon/Polygon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geom/polygon/Polygon.js b/src/geom/polygon/Polygon.js index 72568bd0f..98178a459 100644 --- a/src/geom/polygon/Polygon.js +++ b/src/geom/polygon/Polygon.js @@ -107,7 +107,7 @@ var Polygon = new Class({ * * @param {array} points - Points defining the perimeter of this polygon. Please check function description above for the different supported formats. * - * @return {Phaser.Geom.Polygon} This Polygon object. + * @return {this} This Polygon object. */ setTo: function (points) {